|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RandomizerPresets>
org.eviline.randomizer.RandomizerPresets
public enum RandomizerPresets
Enum Constant Summary | |
---|---|
AGGRESSIVE
|
|
ANGELIC
|
|
BIPOLAR
|
|
EVIL
|
|
SADISTIC
|
Method Summary | |
---|---|
boolean |
containsKey(String key)
Does the specified property key exist? |
String |
get(String key)
Return the value of the specified property key |
String |
getName()
|
Properties |
getProperties()
|
Set<String> |
keys()
Return the set of all property keys |
Randomizer |
newRandomizer(Field field)
|
String |
put(String key,
String value)
Set the value of the specified property key |
static RandomizerPresets |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RandomizerPresets[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RandomizerPresets SADISTIC
public static final RandomizerPresets EVIL
public static final RandomizerPresets AGGRESSIVE
public static final RandomizerPresets ANGELIC
public static final RandomizerPresets BIPOLAR
Method Detail |
---|
public static RandomizerPresets[] values()
for (RandomizerPresets c : RandomizerPresets.values()) System.out.println(c);
public static RandomizerPresets valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getName()
public Properties getProperties()
public boolean containsKey(String key)
PropertySource
containsKey
in interface PropertySource
public String get(String key)
PropertySource
get
in interface PropertySource
public Randomizer newRandomizer(Field field)
public String put(String key, String value)
PropertySource
put
in interface PropertySource
public Set<String> keys()
PropertySource
keys
in interface PropertySource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |