public enum CallCategory extends Enum<CallCategory>
Enum Constant and Description |
---|
EMERGENCY |
INTERLATA |
INTERNATIONAL |
INTRALATA |
LOCAL |
NATIONAL |
OTHER |
PRIVATE |
Modifier and Type | Method and Description |
---|---|
static CallCategory |
get(String value) |
static CallCategory[] |
getArray(String[] values) |
String |
toString() |
String |
value() |
static CallCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CallCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CallCategory LOCAL
public static final CallCategory NATIONAL
public static final CallCategory INTERLATA
public static final CallCategory INTRALATA
public static final CallCategory INTERNATIONAL
public static final CallCategory PRIVATE
public static final CallCategory EMERGENCY
public static final CallCategory OTHER
public static CallCategory[] values()
for (CallCategory c : CallCategory.values()) System.out.println(c);
public static CallCategory 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 value()
public String toString()
toString
in class Enum<CallCategory>
public static CallCategory get(String value)
public static CallCategory[] getArray(String[] values)
Copyright © 2016 ECG. All rights reserved.