Enum Constant and Description |
---|
Default
Places
null values at default location. |
First
Places
null values at first. |
Last
Places
null values at last. |
Modifier and Type | Method and Description |
---|---|
static NullOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NullOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NullOrder First
Places null
values at first.
public static final NullOrder Last
Places null
values at last.
public static final NullOrder Default
Places null
values at default location.
public static NullOrder[] values()
for (NullOrder c : NullOrder.values()) System.out.println(c);
public static NullOrder 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 null