Package org.apache.wiki.util.comparators
Enum HumanComparator.CharType
- java.lang.Object
-
- java.lang.Enum<HumanComparator.CharType>
-
- org.apache.wiki.util.comparators.HumanComparator.CharType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HumanComparator.CharType>
- Enclosing class:
- HumanComparator
public static enum HumanComparator.CharType extends java.lang.Enum<HumanComparator.CharType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TYPE_DIGIT
TYPE_LETTER
TYPE_OTHER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HumanComparator.CharType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HumanComparator.CharType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TYPE_OTHER
public static final HumanComparator.CharType TYPE_OTHER
-
TYPE_DIGIT
public static final HumanComparator.CharType TYPE_DIGIT
-
TYPE_LETTER
public static final HumanComparator.CharType TYPE_LETTER
-
-
Method Detail
-
values
public static HumanComparator.CharType[] 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 (HumanComparator.CharType c : HumanComparator.CharType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HumanComparator.CharType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-