protected static class MultiNodePattern.IntersectMultiNodePattern<T> extends MultiNodePattern<T>
MultiNodePattern.IntersectMultiNodePattern<T>, MultiNodePattern.UnionMultiNodePattern<T>
Modifier | Constructor and Description |
---|---|
protected |
IntersectMultiNodePattern(java.util.List<MultiNodePattern<T>> nodePatterns) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<Interval<java.lang.Integer>> |
match(java.util.List<? extends T> nodes,
int start)
Tries to match sequence of nodes starting of start
Returns intervals (token offsets) of when the nodes matches
|
getMaxNodes, getMinNodes, isGreedyMatch, setGreedyMatch, setMaxNodes, setMinNodes
protected IntersectMultiNodePattern(java.util.List<MultiNodePattern<T>> nodePatterns)
protected java.util.Collection<Interval<java.lang.Integer>> match(java.util.List<? extends T> nodes, int start)
MultiNodePattern
match
in class MultiNodePattern<T>