Package org.bremersee.comparator.model
Enum SortOrder.CaseHandling
- java.lang.Object
-
- java.lang.Enum<SortOrder.CaseHandling>
-
- org.bremersee.comparator.model.SortOrder.CaseHandling
-
- All Implemented Interfaces:
Serializable,Comparable<SortOrder.CaseHandling>
- Enclosing class:
- SortOrder
public static enum SortOrder.CaseHandling extends Enum<SortOrder.CaseHandling>
The case handling.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSENSITIVEInsensitive case handling.SENSITIVESensitive case handling.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisIgnoreCase()Is ignore case.static SortOrder.CaseHandlingvalueOf(String name)Returns the enum constant of this type with the specified name.static SortOrder.CaseHandling[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSENSITIVE
public static final SortOrder.CaseHandling INSENSITIVE
Insensitive case handling.
-
SENSITIVE
public static final SortOrder.CaseHandling SENSITIVE
Sensitive case handling.
-
-
Method Detail
-
values
public static SortOrder.CaseHandling[] 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 (SortOrder.CaseHandling c : SortOrder.CaseHandling.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SortOrder.CaseHandling 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
-
isIgnoreCase
public boolean isIgnoreCase()
Is ignore case.- Returns:
- the boolean
-
-