public static enum Platform.Architecture extends Enum<Platform.Architecture>
Architecture
s.
For unknown architectures
, toString()
will return
the the same value as System.getProperty("os.arch")
.Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Platform.Architecture |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Platform.Architecture[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Platform.Architecture X86
public static final Platform.Architecture I386
public static final Platform.Architecture I686
public static final Platform.Architecture PPC
public static final Platform.Architecture SPARC
public static final Platform.Architecture Unknown
public static Platform.Architecture[] values()
for (Platform.Architecture c : Platform.Architecture.values()) System.out.println(c);
public static Platform.Architecture valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Platform.Architecture>
Copyright © 2017. All rights reserved.