Class FilterIterator<T>
An implementation that filters elements with a boolean predicate.
Inheritance
System.Object
FilterIterator<T>
Assembly: Lucene.Net.dll
Syntax
public abstract class FilterIterator<T> : IEnumerator<T>
Type Parameters
Constructors
|
Improve this Doc
View Source
FilterIterator(IEnumerator<T>)
Declaration
public FilterIterator(IEnumerator<T> baseIterator)
Parameters
Type |
Name |
Description |
IEnumerator<T> |
baseIterator |
|
Properties
|
Improve this Doc
View Source
Current
Declaration
public T Current { get; }
Property Value
Methods
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
MoveNext()
Declaration
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
PredicateFunction(T)
Returns true
, if this element should be set to Current by Lucene.Net.Util.FilterIterator`1.SetNext.
Declaration
protected abstract bool PredicateFunction(T object)
Parameters
Type |
Name |
Description |
T |
object |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Reset()
Declaration
See Also