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
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Serializable]
public class Iterator : IEnumerator<string>, IDisposable, IEnumerator
Constructors
Name | Description |
---|---|
Iterator(TernaryTree) |
Properties
Name | Description |
---|---|
Current | |
Value |
Methods
Name | Description |
---|---|
Dispose() | |
MoveNext() | |
Reset() | |
Rewind() |
Explicit Interface Implementations
Name | Description |
---|---|
IEnumerator.Current |