public enum PowerOnMemory extends Enum<PowerOnMemory>
| Enum Constant and Description |
|---|
ON_NEED_MEM |
ON_NO_NEED_MEM |
| Modifier and Type | Method and Description |
|---|---|
static PowerOnMemory |
fromValue(byte val) |
byte |
getValue() |
static PowerOnMemory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PowerOnMemory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PowerOnMemory ON_NO_NEED_MEM
public static final PowerOnMemory ON_NEED_MEM
public static PowerOnMemory[] values()
for (PowerOnMemory c : PowerOnMemory.values()) System.out.println(c);
public static PowerOnMemory 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 byte getValue()
public static PowerOnMemory fromValue(byte val)
Copyright © 2018. All rights reserved.