E
- public abstract static class Expression.AssertionExpression<E> extends java.lang.Object implements Expression<E>
Expression.AssertionExpression<E>, Expression.BaseExpression<E>, Expression.EndAssertion<E>, Expression.MatchingGroup<E>, Expression.MinMax<E>, Expression.NamedGroup<E>, Expression.NonMatchingGroup<E>, Expression.Option<E>, Expression.Or<E>, Expression.Plus<E>, Expression.Star<E>, Expression.StartAssertion<E>
Constructor and Description |
---|
Expression.AssertionExpression() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
apply(boolean hasStart,
java.util.List<E> tokens,
int count) |
boolean |
apply(E entity) |
FiniteAutomaton.Automaton<E> |
build()
Convert the expression into a NFA.
|
int |
minMatchingLength() |
public boolean apply(E entity)
apply
in interface com.google.common.base.Predicate<E>
public abstract boolean apply(boolean hasStart, java.util.List<E> tokens, int count)
public FiniteAutomaton.Automaton<E> build()
build
in interface Expression<E>
public int minMatchingLength()
minMatchingLength
in interface Expression<E>