org.foray.common
Class TernaryTreeMap.Iterator

java.lang.Object
  extended by org.foray.common.TernaryTreeMap.Iterator
All Implemented Interfaces:
Enumeration<String>
Enclosing class:
TernaryTreeMap

public class TernaryTreeMap.Iterator
extends Object
implements Enumeration<String>

Inner class Iterator implementation.


Constructor Summary
TernaryTreeMap.Iterator()
          Constructor.
 
Method Summary
 char getValue()
          Returns the value of the current key of the iterator.
 boolean hasMoreElements()
           
 String nextElement()
           
 void rewind()
          Rewinds the iterator to point to its first item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TernaryTreeMap.Iterator

public TernaryTreeMap.Iterator()
Constructor.

Method Detail

rewind

public void rewind()
Rewinds the iterator to point to its first item.


nextElement

public String nextElement()
Specified by:
nextElement in interface Enumeration<String>

getValue

public char getValue()
Returns the value of the current key of the iterator.

Returns:
The index value of the current key of the iterator.

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration<String>


Copyright © 2017. All rights reserved.