public enum TypeOfNumber extends Enum<TypeOfNumber>
Enum Constant and Description |
---|
ABBREVIATED |
ALPHANUMERIC |
INTERNATIONAL |
NATIONAL |
NETWORK_SPECIFIC |
SUBSCRIBER_NUMBER |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
byte |
value()
Get the byte value of the enum constant.
|
static TypeOfNumber |
valueOf(byte value)
Get the TypeOfNumber based on the specified byte value
representation.
|
static TypeOfNumber |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeOfNumber[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeOfNumber UNKNOWN
public static final TypeOfNumber INTERNATIONAL
public static final TypeOfNumber NATIONAL
public static final TypeOfNumber NETWORK_SPECIFIC
public static final TypeOfNumber SUBSCRIBER_NUMBER
public static final TypeOfNumber ALPHANUMERIC
public static final TypeOfNumber ABBREVIATED
public static TypeOfNumber[] values()
for (TypeOfNumber c : TypeOfNumber.values()) System.out.println(c);
public static TypeOfNumber 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 byte value()
public static TypeOfNumber valueOf(byte value)
value
- is the byte value representation.IllegalArgumentException
- if there is no enum const associated
with specified byte value.