public static enum Candidate.Type extends Enum<Candidate.Type>
| Modifier and Type | Method and Description |
|---|---|
static Candidate.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Candidate.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Candidate.Type HOST
public static final Candidate.Type PRFLX
public static final Candidate.Type RELAY
public static final Candidate.Type SRFLX
public static Candidate.Type[] values()
for (Candidate.Type c : Candidate.Type.values()) System.out.println(c);
public static Candidate.Type 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 © 2014 XMPP.rocks. All rights reserved.