public static enum ParseRule.Count extends java.lang.Enum<ParseRule.Count>
Enum Constant and Description |
---|
One |
OneOrMore |
ZeroOrMore |
ZeroOrOne |
Modifier and Type | Method and Description |
---|---|
boolean |
isGreedy() |
boolean |
isRequired() |
static ParseRule.Count |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParseRule.Count[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParseRule.Count ZeroOrOne
public static final ParseRule.Count ZeroOrMore
public static final ParseRule.Count One
public static final ParseRule.Count OneOrMore
public static ParseRule.Count[] values()
for (ParseRule.Count c : ParseRule.Count.values()) System.out.println(c);
public static ParseRule.Count 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 boolean isGreedy()
public boolean isRequired()