public enum P2PDictionaryServerMode extends java.lang.Enum<P2PDictionaryServerMode>
Enum Constant and Description |
---|
AutoRegister |
Hidden |
NoServer |
Modifier and Type | Method and Description |
---|---|
static P2PDictionaryServerMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static P2PDictionaryServerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final P2PDictionaryServerMode AutoRegister
public static final P2PDictionaryServerMode Hidden
public static final P2PDictionaryServerMode NoServer
public static P2PDictionaryServerMode[] values()
for (P2PDictionaryServerMode c : P2PDictionaryServerMode.values()) System.out.println(c);
public static P2PDictionaryServerMode 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