public enum P2PDictionaryClientMode extends java.lang.Enum<P2PDictionaryClientMode>
Enum Constant and Description |
---|
AutoConnect |
ManualConnect |
Modifier and Type | Method and Description |
---|---|
static P2PDictionaryClientMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static P2PDictionaryClientMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final P2PDictionaryClientMode AutoConnect
public static final P2PDictionaryClientMode ManualConnect
public static P2PDictionaryClientMode[] values()
for (P2PDictionaryClientMode c : P2PDictionaryClientMode.values()) System.out.println(c);
public static P2PDictionaryClientMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null