Show / Hide Table of Contents

    Class FilterIterator<T>

    An implementation that filters elements with a boolean predicate.

    Inheritance
    System.Object
    FilterIterator<T>
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class FilterIterator<T> : IEnumerator<T>
    Type Parameters
    Name Description
    T

    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
    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()

    See Also

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