|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.util.list.ElementList
org.basex.data.FTMatch
public final class FTMatch
Match full-text container, referencing several FTStringMatch
instances.
Field Summary |
---|
Fields inherited from class org.basex.util.list.ElementList |
---|
factor, size |
Constructor Summary | |
---|---|
FTMatch()
Constructor. |
|
FTMatch(int capacity)
Constructor, specifying an initial internal array size. |
Method Summary | |
---|---|
FTMatch |
add(FTMatch mtc)
Adds a all matches of a full-text match. |
FTMatch |
add(FTStringMatch m)
Adds a string match. |
protected FTMatch |
copy()
Creates a deep copy of this container. |
java.util.Iterator<FTStringMatch> |
iterator()
|
boolean |
notin(FTMatch mtc)
Checks if the full-text match is not part of the specified match. |
void |
sort()
Sorts the matches. |
java.lang.String |
toString()
|
Methods inherited from class org.basex.util.list.ElementList |
---|
isEmpty, newSize, newSize, reset, size, size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FTMatch()
public FTMatch(int capacity)
capacity
- initial array capacityMethod Detail |
---|
public FTMatch add(FTMatch mtc)
mtc
- match to be added
public FTMatch add(FTStringMatch m)
m
- match to be added
public boolean notin(FTMatch mtc)
mtc
- match to be checked
public void sort()
protected FTMatch copy()
public java.util.Iterator<FTStringMatch> iterator()
iterator
in interface java.lang.Iterable<FTStringMatch>
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |