public static enum Candidate.Type extends java.lang.Enum<Candidate.Type>
Modifier and Type | Method and Description |
---|---|
static Candidate.Type |
valueOf(java.lang.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(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 nullCopyright © 2014–2019 XMPP.rocks. All rights reserved.