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
  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 Iterator : IEnumerator<string>, IEnumerator, IDisposable
  Constructors
| Improve this Doc View SourceIterator(TernaryTree)
Declaration
public Iterator(TernaryTree outerInstance)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TernaryTree | outerInstance | 
Properties
| Improve this Doc View SourceCurrent
Declaration
public string Current { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Value
Declaration
public virtual char Value { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Char | 
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
  MoveNext()
Declaration
public bool MoveNext()
  Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Reset()
Declaration
public void Reset()
  Rewind()
Declaration
public virtual void Rewind()
  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