public enum RoundingTypeId extends java.lang.Enum<RoundingTypeId>
| Enum Constant and Description |
|---|
Down
Always round down
|
Nearest
Round to the nearest whole number
|
None
There is no rounding on the return
|
Up
Always round up
|
| Modifier and Type | Method and Description |
|---|---|
static RoundingTypeId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RoundingTypeId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoundingTypeId None
public static final RoundingTypeId Nearest
public static final RoundingTypeId Up
public static final RoundingTypeId Down
public static RoundingTypeId[] values()
for (RoundingTypeId c : RoundingTypeId.values()) System.out.println(c);
public static RoundingTypeId 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 null