Package ubic.gemma.rest.util.args
Enum SortArg.Sort.NullMode
- java.lang.Object
-
- java.lang.Enum<SortArg.Sort.NullMode>
-
- ubic.gemma.rest.util.args.SortArg.Sort.NullMode
-
- All Implemented Interfaces:
Serializable
,Comparable<SortArg.Sort.NullMode>
- Enclosing class:
- SortArg.Sort
public static enum SortArg.Sort.NullMode extends Enum<SortArg.Sort.NullMode>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SortArg.Sort.NullMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static SortArg.Sort.NullMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final SortArg.Sort.NullMode DEFAULT
-
FIRST
public static final SortArg.Sort.NullMode FIRST
-
LAST
public static final SortArg.Sort.NullMode LAST
-
-
Method Detail
-
values
public static SortArg.Sort.NullMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SortArg.Sort.NullMode c : SortArg.Sort.NullMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SortArg.Sort.NullMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-