|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RegexNFATypeEnum>
com.espertech.esper.rowregex.RegexNFATypeEnum
public enum RegexNFATypeEnum
Enum for NFA types.
Enum Constant Summary | |
---|---|
ONE_OPTIONAL
For greedy '?' multiplicity. |
|
ONE_OPTIONAL_RELUCTANT
For reluctant '?' multiplicity. |
|
ONE_TO_MANY
For greedy '+' multiplicity. |
|
ONE_TO_MANY_RELUCTANT
For reluctant '+' multiplicity. |
|
SINGLE
For single multiplicity. |
|
ZERO_TO_MANY
For greedy '*' multiplicity. |
|
ZERO_TO_MANY_RELUCTANT
For reluctant '*' multiplicity. |
Method Summary | |
---|---|
static RegexNFATypeEnum |
fromString(java.lang.String code,
java.lang.String reluctantQuestion)
Inspect code and return enum for code. |
java.lang.String |
getOptionalPostfix()
Return postfix. |
java.lang.Boolean |
isGreedy()
Returns indicator if greedy or reluctant. |
boolean |
isMultipleMatches()
Returns indicator if single or multiple matches. |
boolean |
isOptional()
Returns indicator if optional matches. |
static RegexNFATypeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RegexNFATypeEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RegexNFATypeEnum SINGLE
public static final RegexNFATypeEnum ZERO_TO_MANY
public static final RegexNFATypeEnum ONE_TO_MANY
public static final RegexNFATypeEnum ONE_OPTIONAL
public static final RegexNFATypeEnum ZERO_TO_MANY_RELUCTANT
public static final RegexNFATypeEnum ONE_TO_MANY_RELUCTANT
public static final RegexNFATypeEnum ONE_OPTIONAL_RELUCTANT
Method Detail |
---|
public static RegexNFATypeEnum[] values()
for (RegexNFATypeEnum c : RegexNFATypeEnum.values()) System.out.println(c);
public static RegexNFATypeEnum 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
java.lang.NullPointerException
- if the argument is nullpublic boolean isMultipleMatches()
public boolean isOptional()
public java.lang.Boolean isGreedy()
public static RegexNFATypeEnum fromString(java.lang.String code, java.lang.String reluctantQuestion)
code
- to inspectreluctantQuestion
- null for greedy or questionmark for reluctant
public java.lang.String getOptionalPostfix()
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |