public static enum PeerStatusListener.Reason extends Enum<PeerStatusListener.Reason>
Enum Constant and Description |
---|
NOT_REACHABLE |
REMOVED_FROM_MAP |
Modifier and Type | Method and Description |
---|---|
static PeerStatusListener.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PeerStatusListener.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeerStatusListener.Reason REMOVED_FROM_MAP
public static final PeerStatusListener.Reason NOT_REACHABLE
public static PeerStatusListener.Reason[] values()
for (PeerStatusListener.Reason c : PeerStatusListener.Reason.values()) System.out.println(c);
public static PeerStatusListener.Reason 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 nullCopyright © 2013. All Rights Reserved.