public enum MatchUnit extends java.lang.Enum<MatchUnit> implements IntegralConstant
Match| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static MatchUnit |
valueOf(int value) |
static MatchUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MatchUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static java.util.Set<java.lang.Integer> |
valuesAsIntegers() |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfequalspublic static final MatchUnit CHARACTER
Match.UNIT_CHARACTERpublic static final MatchUnit LINE
Match.UNIT_LINEpublic static MatchUnit[] values()
for (MatchUnit c : MatchUnit.values()) System.out.println(c);
public static MatchUnit 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 nullpublic static java.util.Set<java.lang.Integer> valuesAsIntegers()
public static MatchUnit valueOf(int value)
public int getValue()
getValue in interface IntegralConstant