Enum Constant and Description |
---|
BINARY |
DECIMAL |
HEXADECIMAL |
OCTAL |
Modifier and Type | Method and Description |
---|---|
int |
getMaxDigits()
Maximum number of digits per single byte.
|
static CodeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodeType BINARY
public static final CodeType OCTAL
public static final CodeType DECIMAL
public static final CodeType HEXADECIMAL
public static CodeType[] values()
for (CodeType c : CodeType.values()) System.out.println(c);
public static CodeType 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 int getMaxDigits()