public static enum Target.CastInteger extends Enum<Target.CastInteger> implements StringValue<Target.CastInteger>
| Modifier and Type | Method and Description |
|---|---|
static Target.CastInteger |
fromValue(String v) |
String |
toString() |
String |
value() |
static Target.CastInteger |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Target.CastInteger[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Target.CastInteger ROUND
public static final Target.CastInteger CEILING
public static final Target.CastInteger FLOOR
public static Target.CastInteger[] values()
for (Target.CastInteger c : Target.CastInteger.values()) System.out.println(c);
public static Target.CastInteger 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()
value in interface StringValue<Target.CastInteger>public static Target.CastInteger fromValue(String v)
public String toString()
toString in class Enum<Target.CastInteger>Copyright © 2019 University of Tartu. All rights reserved.