public enum NaNEquality extends Enum<NaNEquality>
Enum Constant and Description |
---|
ALL_EQUAL
All representations of NaN are considered to be equal.
|
UNEQUAL
No NaN representation is considered equal to any NaN representation, even for the
exact same representation.
|
Modifier and Type | Method and Description |
---|---|
static NaNEquality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NaNEquality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NaNEquality UNEQUAL
public static final NaNEquality ALL_EQUAL
public static NaNEquality[] values()
for (NaNEquality c : NaNEquality.values()) System.out.println(c);
public static NaNEquality 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 © 2024. All rights reserved.