public final class FTMatch extends ElementList implements Iterable<FTStringMatch>
FTStringMatch
instances.size
Constructor and Description |
---|
FTMatch()
Constructor.
|
FTMatch(int capacity)
Constructor, specifying an initial internal array size.
|
Modifier and Type | Method and Description |
---|---|
FTMatch |
add(FTMatch ftm)
Adds all matches of a full-text match.
|
FTMatch |
add(FTStringMatch ftm)
Adds a single string match.
|
Iterator<FTStringMatch> |
iterator() |
boolean |
notin(FTMatch ftm)
Checks if the full-text match is not part of the specified match.
|
void |
sort()
Sorts the matches by their start and end positions.
|
String |
toString() |
public FTMatch()
public FTMatch(int capacity)
capacity
- initial array capacitypublic FTMatch add(FTMatch ftm)
ftm
- match to be addedpublic FTMatch add(FTStringMatch ftm)
ftm
- match to be addedpublic boolean notin(FTMatch ftm)
ftm
- match to be checkedpublic void sort()
public Iterator<FTStringMatch> iterator()
iterator
in interface Iterable<FTStringMatch>
Copyright © 2005–2015 BaseX Team. All rights reserved.