public enum ScaleType extends Enum<ScaleType>
Enum Constant and Description |
---|
CHANGE_COUNT
Enum value ChangeCount.
|
EXACT_COUNT
Enum value ExactCount.
|
PERCENT_CHANGE_COUNT
Enum value PercentChangeCount.
|
Modifier and Type | Method and Description |
---|---|
static ScaleType |
fromString(String value)
Parses a serialized value to a ScaleType instance.
|
String |
toString() |
static ScaleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScaleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScaleType CHANGE_COUNT
public static final ScaleType PERCENT_CHANGE_COUNT
public static final ScaleType EXACT_COUNT
public static ScaleType[] values()
for (ScaleType c : ScaleType.values()) System.out.println(c);
public static ScaleType 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 static ScaleType fromString(String value)
value
- the serialized value to parse.Copyright © 2019. All rights reserved.