public static enum StringUtils.TraditionalBinaryPrefix extends java.lang.Enum<StringUtils.TraditionalBinaryPrefix>
Modifier and Type | Method and Description |
---|---|
static long |
string2long(java.lang.String s)
Convert a string to long.
|
static StringUtils.TraditionalBinaryPrefix |
valueOf(char symbol) |
static StringUtils.TraditionalBinaryPrefix |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StringUtils.TraditionalBinaryPrefix[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringUtils.TraditionalBinaryPrefix KILO
public static final StringUtils.TraditionalBinaryPrefix MEGA
public static final StringUtils.TraditionalBinaryPrefix GIGA
public static final StringUtils.TraditionalBinaryPrefix TERA
public static final StringUtils.TraditionalBinaryPrefix PETA
public static final StringUtils.TraditionalBinaryPrefix EXA
public static StringUtils.TraditionalBinaryPrefix[] values()
for (StringUtils.TraditionalBinaryPrefix c : StringUtils.TraditionalBinaryPrefix.values()) System.out.println(c);
public static StringUtils.TraditionalBinaryPrefix valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static StringUtils.TraditionalBinaryPrefix valueOf(char symbol)
public static long string2long(java.lang.String s)
s
- input string