public enum RoundTo extends Enum<RoundTo>
Enum Constant and Description |
---|
DOWN |
NONE |
TO_NEAREST |
UP |
Modifier and Type | Method and Description |
---|---|
static RoundTo |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoundTo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoundTo NONE
public static final RoundTo UP
public static final RoundTo DOWN
public static final RoundTo TO_NEAREST
public static RoundTo[] values()
for (RoundTo c : RoundTo.values()) System.out.println(c);
public static RoundTo 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 nullCopyright © 2010–2016. All rights reserved.