public static enum DarknetPeerNode.FRIEND_VISIBILITY extends java.lang.Enum<DarknetPeerNode.FRIEND_VISIBILITY>
Modifier and Type | Method and Description |
---|---|
static DarknetPeerNode.FRIEND_VISIBILITY |
getByCode(short code) |
boolean |
isDefaultValue() |
boolean |
isStricterThan(DarknetPeerNode.FRIEND_VISIBILITY theirVisibility) |
static DarknetPeerNode.FRIEND_VISIBILITY |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DarknetPeerNode.FRIEND_VISIBILITY[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DarknetPeerNode.FRIEND_VISIBILITY YES
public static final DarknetPeerNode.FRIEND_VISIBILITY NAME_ONLY
public static final DarknetPeerNode.FRIEND_VISIBILITY NO
public static DarknetPeerNode.FRIEND_VISIBILITY[] values()
for (DarknetPeerNode.FRIEND_VISIBILITY c : DarknetPeerNode.FRIEND_VISIBILITY.values()) System.out.println(c);
public static DarknetPeerNode.FRIEND_VISIBILITY 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 nullpublic boolean isStricterThan(DarknetPeerNode.FRIEND_VISIBILITY theirVisibility)
public static DarknetPeerNode.FRIEND_VISIBILITY getByCode(short code)
public boolean isDefaultValue()