Known Direct Subclasses
|
Known Indirect Subclasses
FuzzyTermEnum |
Subclass of FilteredTermEnum for enumerating all terms that are similar
to the specified filter term. |
PrefixTermEnum |
Subclass of FilteredTermEnum for enumerating all terms that match the
specified prefix filter term. |
SingleTermEnum |
Subclass of FilteredTermEnum for enumerating a single term. |
TermRangeTermEnum |
Subclass of FilteredTermEnum for enumerating all terms that match the
specified range parameters. |
WildcardTermEnum |
Subclass of FilteredTermEnum for enumerating all terms that match the
specified wildcard filter term. |
|
Class Overview
Abstract class for enumerating terms.
Term enumerations are always ordered by Term.compareTo(). Each term in
the enumeration is greater than all that precede it.
Summary
Public Methods |
abstract
void
|
close()
Closes the enumeration to further activity, freeing resources.
|
abstract
int
|
docFreq()
Returns the docFreq of the current Term in the enumeration.
|
abstract
boolean
|
next()
Increments the enumeration to the next element.
|
abstract
Term
|
term()
Returns the current Term in the enumeration.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
java.io.Closeable
|
Public Constructors
Public Methods
public
abstract
void
close
()
Closes the enumeration to further activity, freeing resources.
public
abstract
int
docFreq
()
Returns the docFreq of the current Term in the enumeration.
public
abstract
boolean
next
()
Increments the enumeration to the next element. True if one exists.
public
abstract
Term
term
()
Returns the current Term in the enumeration.