public enum CandidateType extends Enum<CandidateType>
| Modifier and Type | Method and Description |
|---|---|
static int |
count() |
static CandidateType |
fromDescription(String description) |
String |
getDescription() |
int |
getPreference() |
static CandidateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CandidateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CandidateType HOST
public static final CandidateType PRFLX
public static final CandidateType SRFLX
public static final CandidateType RELAY
public static CandidateType[] values()
for (CandidateType c : CandidateType.values()) System.out.println(c);
public static CandidateType 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 nullpublic String getDescription()
public int getPreference()
public static CandidateType fromDescription(String description)
public static int count()
Copyright © 2017 TeleStax, Inc.. All Rights Reserved.