public enum PeerSelectors extends Enum<PeerSelectors> implements PeerSelector
| Enum Constant and Description |
|---|
RANDOM |
| Modifier and Type | Method and Description |
|---|---|
static PeerSelectors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PeerSelectors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfselectpublic static final PeerSelectors RANDOM
public static PeerSelectors[] values()
for (PeerSelectors c : PeerSelectors.values()) System.out.println(c);
public static PeerSelectors 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–2018. All rights reserved.