|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MatcherIface.State>
pmp.MatcherIface.State
public static enum MatcherIface.State
State of matcher.
Enum Constant Summary | |
---|---|
MATCH
Entire input sequence matches the pattern. |
|
MISMATCH
Input string does not match the pattern. |
|
OVERFEED
Beginning of input sequence matches the pattern. |
|
PARTIAL
Input string matches the beginning of the pattern. |
Method Summary | |
---|---|
static MatcherIface.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MatcherIface.State[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MatcherIface.State MISMATCH
public static final MatcherIface.State PARTIAL
MISMATCH
or MATCH
.
public static final MatcherIface.State OVERFEED
lookingAt()
of standard Java Matcher class would
return true
.
public static final MatcherIface.State MATCH
matches()
of standard Java Matcher class would return
true
.
Method Detail |
---|
public static final MatcherIface.State[] values()
for(MatcherIface.State c : MatcherIface.State.values()) System.out.println(c);
public static MatcherIface.State 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 name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |