Show / Hide Table of Contents

    Class TernaryTree.Iterator

    Enumerator for TernaryTree

    LUCENENET NOTE: This differs a bit from its Java counterpart to adhere to .NET IEnumerator semantics. In Java, when the TernaryTree.Iterator is instantiated, it is already positioned at the first element. However, to act like a .NET IEnumerator, the initial state is undefined and considered to be before the first element until MoveNext() is called, and if a move took place it will return true;

    Inheritance
    System.Object
    TernaryTree.Iterator
    Namespace: Lucene.Net.Analysis.Compound.Hyphenation
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public class Iterator : IEnumerator<string>

    Constructors

    | Improve this Doc View Source

    Iterator(TernaryTree)

    Declaration
    public Iterator(TernaryTree outerInstance)
    Parameters
    Type Name Description
    TernaryTree outerInstance

    Properties

    | Improve this Doc View Source

    Current

    Declaration
    public string Current { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Value

    Declaration
    public virtual char Value { get; }
    Property Value
    Type Description
    System.Char

    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

    Reset()

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

    Rewind()

    Declaration
    public virtual void Rewind()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)