public static enum SortKeyComparator.NullPosition extends Enum<SortKeyComparator.NullPosition>
null
object.Enum Constant and Description |
---|
NULL_FIRST
A JsonValue that wraps a
null object is considered less than one that is not. |
NULL_LAST
A JsonValue that wraps a
null object is considered more than one that is not. |
Modifier and Type | Method and Description |
---|---|
static SortKeyComparator.NullPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortKeyComparator.NullPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortKeyComparator.NullPosition NULL_FIRST
null
object is considered less than one that is not.public static final SortKeyComparator.NullPosition NULL_LAST
null
object is considered more than one that is not.public static SortKeyComparator.NullPosition[] values()
for (SortKeyComparator.NullPosition c : SortKeyComparator.NullPosition.values()) System.out.println(c);
public static SortKeyComparator.NullPosition 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 2011-2017 ForgeRock AS.