Class Match.IntermediateMatch<E>
- java.lang.Object
-
- edu.washington.cs.knowitall.regex.Match<E>
-
- edu.washington.cs.knowitall.regex.Match.IntermediateMatch<E>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.washington.cs.knowitall.regex.Match
Match.FinalMatch<E>, Match.Group<E>, Match.IntermediateMatch<E>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IntermediateMatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
endIndex()
java.util.List<Match.Group<E>>
groups()
int
startIndex()
java.util.List<E>
tokens()
-
-
-
Method Detail
-
tokens
public java.util.List<E> tokens()
-
groups
public java.util.List<Match.Group<E>> groups()
-
startIndex
public int startIndex()
- Specified by:
startIndex
in classMatch<E>
- Returns:
- the index of the first token matched (inclusive start).
-
-