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:
- Serializable, Comparable<HumanComparator.CharType>
- Enclosing class:
- HumanComparator
public static enum HumanComparator.CharType
- extends Enum<HumanComparator.CharType>
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
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(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 name
NullPointerException
- if the argument is null
Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved.