public class NFACompiler extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
NFACompiler.NFAFactory<T>
Factory interface for
NFA. |
| 限定符和类型 | 字段和说明 |
|---|---|
protected static String |
ENDING_STATE_NAME |
| 构造器和说明 |
|---|
NFACompiler() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
canProduceEmptyMatches(Pattern<?,?> pattern)
Verifies if the provided pattern can possibly generate empty match.
|
static <T> NFACompiler.NFAFactory<T> |
compileFactory(Pattern<T,?> pattern,
boolean timeoutHandling)
Compiles the given pattern into a
NFACompiler.NFAFactory. |
public static <T> NFACompiler.NFAFactory<T> compileFactory(Pattern<T,?> pattern, boolean timeoutHandling)
NFACompiler.NFAFactory. The NFA factory can be used to create
multiple NFAs.T - Type of the input eventspattern - Definition of sequence patterntimeoutHandling - True if the NFA shall return timed out event patternspublic static boolean canProduceEmptyMatches(Pattern<?,?> pattern)
pattern - pattern to checkCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.