public static enum Node.NonNumericFloat extends java.lang.Enum<Node.NonNumericFloat>
Enum Constant and Description |
---|
NAN |
NEGATIVE_INFINITY |
POSITIVE_INFINITY |
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<Node.NonNumericFloat> |
fromStringRepresentation(java.lang.String value)
Convert a string value into a NonNumericFloat.
|
java.lang.String |
getStringRepresentation() |
static java.util.Set<java.lang.String> |
stringRepresentations() |
static Node.NonNumericFloat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Node.NonNumericFloat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Node.NonNumericFloat NAN
public static final Node.NonNumericFloat POSITIVE_INFINITY
public static final Node.NonNumericFloat NEGATIVE_INFINITY
public static Node.NonNumericFloat[] values()
for (Node.NonNumericFloat c : Node.NonNumericFloat.values()) System.out.println(c);
public static Node.NonNumericFloat 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 nullpublic java.lang.String getStringRepresentation()
public static java.util.Set<java.lang.String> stringRepresentations()
public static java.util.Optional<Node.NonNumericFloat> fromStringRepresentation(java.lang.String value)
value
- A string representation of a non-numeric float value.