public enum TON extends Enum<TON>
| Enum Constant and Description |
|---|
ABBREVIATED |
ALFANUMERIC |
INTERNATIONAL |
NATIONAL |
NETWORK_SPECIFIC |
SUBSCRIBER_NUMBER |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static TON |
fromInt(int ton) |
static TON |
fromString(String ton) |
int |
getCode() |
static TON |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TON[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TON UNKNOWN
public static final TON INTERNATIONAL
public static final TON NATIONAL
public static final TON NETWORK_SPECIFIC
public static final TON SUBSCRIBER_NUMBER
public static final TON ALFANUMERIC
public static final TON ABBREVIATED
public static TON[] values()
for (TON c : TON.values()) System.out.println(c);
public static TON 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 int getCode()
public static final TON fromInt(int ton)
Copyright © 2016. All Rights Reserved.