public static enum Settings.Flag extends Enum<Settings.Flag>
Modifier and Type | Method and Description |
---|---|
byte |
code() |
static Settings.Flag |
from(byte code) |
static Settings.Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Settings.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Settings.Flag NONE
public static final Settings.Flag PERSIST
public static final Settings.Flag PERSISTED
public static Settings.Flag[] values()
for (Settings.Flag c : Settings.Flag.values()) System.out.println(c);
public static Settings.Flag 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 static Settings.Flag from(byte code)
public byte code()
Copyright © 1995-2015 Webtide. All Rights Reserved.