public enum RadixType extends Enum<RadixType>
Java class for RadixType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RadixType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Decimal"/>
<enumeration value="Hexadecimal"/>
<enumeration value="Octal"/>
<enumeration value="Binary"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BINARY |
DECIMAL |
HEXADECIMAL |
OCTAL |
| Modifier and Type | Method and Description |
|---|---|
static RadixType |
fromValue(String v) |
String |
value() |
static RadixType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RadixType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RadixType DECIMAL
public static final RadixType HEXADECIMAL
public static final RadixType OCTAL
public static final RadixType BINARY
public static RadixType[] values()
for (RadixType c : RadixType.values()) System.out.println(c);
public static RadixType 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 String value()
Copyright © 2015–2020. All rights reserved.