public enum CpuFamily extends Enum<CpuFamily>
Enum Constant and Description |
---|
AMD_OPTERON |
INTEL_XEON |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static CpuFamily |
fromValue(String v) |
static CpuFamily |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CpuFamily[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CpuFamily AMD_OPTERON
public static final CpuFamily INTEL_XEON
public static final CpuFamily UNRECOGNIZED
public static CpuFamily[] values()
for (CpuFamily c : CpuFamily.values()) System.out.println(c);
public static CpuFamily 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 nullCopyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.