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