public enum ScaleUnit extends Enum<ScaleUnit>
Java class for ScaleUnit.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ScaleUnit">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Billion"/>
<enumeration value="Million"/>
<enumeration value="Thousand"/>
<enumeration value="None"/>
</restriction>
</simpleType>
Modifier and Type | Method and Description |
---|---|
static ScaleUnit |
fromValue(String v) |
String |
value() |
static ScaleUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScaleUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScaleUnit BILLION
public static final ScaleUnit MILLION
public static final ScaleUnit THOUSAND
public static final ScaleUnit NONE
public static ScaleUnit[] values()
for (ScaleUnit c : ScaleUnit.values()) System.out.println(c);
public static ScaleUnit 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 © 2024. All rights reserved.