public enum NaNStrategy extends Enum<NaNStrategy>
Double.NEGATIVE_INFINITY
.Double.POSITIVE_INFINITY
Enum Constant and Description |
---|
FAILED
NaNs result in an exception
|
FIXED
NaNs are left in place
|
MAXIMAL
NaNs are considered maximal in the ordering
|
MINIMAL
NaNs are considered minimal in the ordering
|
REMOVED
NaNs are removed before computing ranks
|
Modifier and Type | Method and Description |
---|---|
static NaNStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NaNStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NaNStrategy MINIMAL
public static final NaNStrategy MAXIMAL
public static final NaNStrategy REMOVED
public static final NaNStrategy FIXED
public static final NaNStrategy FAILED
public static NaNStrategy[] values()
for (NaNStrategy c : NaNStrategy.values()) System.out.println(c);
public static NaNStrategy 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 © 2019 CNES. All Rights Reserved.