Class FilterIterator<T>
An System.Collections.Generic.IEnumerator<T> implementation that filters elements with a boolean predicate.
Inheritance
System.Object
FilterIterator<T>
Implements
System.Collections.Generic.IEnumerator<T>
System.Collections.IEnumerator
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public abstract class FilterIterator<T> : IEnumerator<T>, IEnumerator, IDisposable
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Improve this Doc View SourceFilterIterator(IEnumerator<T>)
Declaration
public FilterIterator(IEnumerator<T> baseIterator)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerator<T> | baseIterator |
Properties
| Improve this Doc View SourceCurrent
Declaration
public T Current { get; }
Property Value
Type | Description |
---|---|
T |
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
MoveNext()
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
System.Boolean |
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 |
Reset()
Declaration
public void Reset()
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerator.Current
Declaration
object IEnumerator.Current { get; }
Returns
Type | Description |
---|---|
System.Object |
Implements
System.Collections.Generic.IEnumerator<T>
System.Collections.IEnumerator
System.IDisposable