public static enum ShortNumberUtil.ShortNumberCost extends Enum<ShortNumberUtil.ShortNumberCost>
Enum Constant and Description |
---|
PREMIUM_RATE |
STANDARD_RATE |
TOLL_FREE |
UNKNOWN_COST |
Modifier and Type | Method and Description |
---|---|
static ShortNumberUtil.ShortNumberCost |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShortNumberUtil.ShortNumberCost[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShortNumberUtil.ShortNumberCost TOLL_FREE
public static final ShortNumberUtil.ShortNumberCost STANDARD_RATE
public static final ShortNumberUtil.ShortNumberCost PREMIUM_RATE
public static final ShortNumberUtil.ShortNumberCost UNKNOWN_COST
public static ShortNumberUtil.ShortNumberCost[] values()
for (ShortNumberUtil.ShortNumberCost c : ShortNumberUtil.ShortNumberCost.values()) System.out.println(c);
public static ShortNumberUtil.ShortNumberCost 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 nullCopyright © 2014 Google. All Rights Reserved.