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