Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class TernaryTree.Enumerator

    Enumerator for TernaryTree

    LUCENENET NOTE: This differs a bit from its Java counterpart to adhere to .NET IEnumerator semantics. In Java, when the TernaryTree.Enumerator 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.Enumerator
    Implements
    System.Collections.Generic.IEnumerator<System.String>
    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.Analysis.Compound.Hyphenation
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public class Enumerator : IEnumerator<string>, IEnumerator, IDisposable

    Constructors

    | Improve this Doc View Source

    Enumerator(TernaryTree)

    Declaration
    public Enumerator(TernaryTree ternaryTree)
    Parameters
    Type Name Description
    TernaryTree ternaryTree

    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

    Dispose(Boolean)

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    | 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()

    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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.