public enum SignDisplay extends Enum<SignDisplay> implements Key
Enum Constant and Description |
---|
ALWAYS
To always display sign.
|
AUTO
To sign display for negative numbers only.
|
EXCEPT_ZERO
To sign display for positive and negative numbers, but not zero.
|
NEVER
To never display sign.
|
Modifier and Type | Method and Description |
---|---|
String |
value()
Returns the name value of property
|
static SignDisplay |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignDisplay[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final SignDisplay AUTO
public static final SignDisplay NEVER
public static final SignDisplay ALWAYS
public static final SignDisplay EXCEPT_ZERO
public static SignDisplay[] values()
for (SignDisplay c : SignDisplay.values()) System.out.println(c);
public static SignDisplay 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 null