Show / Hide Table of Contents

    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 Source

    FilterIterator(IEnumerator<T>)

    Declaration
    public FilterIterator(IEnumerator<T> baseIterator)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerator<T> baseIterator

    Properties

    | Improve this Doc View Source

    Current

    Declaration
    public T Current { get; }
    Property Value
    Type Description
    T

    Methods

    | Improve this Doc View Source

    Dispose()

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    MoveNext()

    Declaration
    public bool MoveNext()
    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
    public void Reset()

    Explicit Interface Implementations

    | Improve this Doc View Source

    IEnumerator.Current

    Declaration
    object IEnumerator.Current { get; }
    Returns
    Type Description
    System.Object

    Implements

    System.Collections.Generic.IEnumerator<T>
    System.Collections.IEnumerator
    System.IDisposable

    Extension Methods

    Number.IsNumber(Object)

    See Also

    PredicateFunction(T)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)