org.millscript.commons.util.map
Class EBinaryTreeMap.NodeMapletIterator<K extends java.lang.Comparable<K>,V>

java.lang.Object
  extended by org.millscript.commons.util.iterator.AbstractMapIterator<java.lang.Integer,V>
      extended by org.millscript.commons.util.iterator.AbstractListIterator<E>
          extended by org.millscript.commons.util.map.EBinaryTreeMap.NodeXIterator<Maplet<K,V>>
              extended by org.millscript.commons.util.map.EBinaryTreeMap.NodeMapletIterator<K,V>
All Implemented Interfaces:
ListIterator<Maplet<K,V>>, MapIterator<java.lang.Integer,Maplet<K,V>>
Enclosing class:
EBinaryTreeMap<K extends java.lang.Comparable<K>,V>

public static class EBinaryTreeMap.NodeMapletIterator<K extends java.lang.Comparable<K>,V>
extends EBinaryTreeMap.NodeXIterator<Maplet<K,V>>


Field Summary
 
Fields inherited from class org.millscript.commons.util.iterator.AbstractListIterator
position
 
Constructor Summary
protected EBinaryTreeMap.NodeMapletIterator(EBinaryTreeMap.Node<?,?> node, int num)
          Constructs a new binary tree map iterator to iterate over the specified node tree.
 
Method Summary
 
Methods inherited from class org.millscript.commons.util.map.EBinaryTreeMap.NodeXIterator
advance, getValue, hasNext, outOfBounds
 
Methods inherited from class org.millscript.commons.util.iterator.AbstractListIterator
currentMaplet, getKey, getMaplet, nextMaplet
 
Methods inherited from class org.millscript.commons.util.iterator.AbstractMapIterator
currentKey, currentValue, nextKey, nextValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.millscript.commons.util.MapIterator
currentKey, currentValue, nextKey, nextValue
 

Constructor Detail

EBinaryTreeMap.NodeMapletIterator

protected EBinaryTreeMap.NodeMapletIterator(EBinaryTreeMap.Node<?,?> node,
                                            int num)
Constructs a new binary tree map iterator to iterate over the specified node tree.

Parameters:
node - any node in the leftmost branch of the backing store tree
num - the number of elements in this iteration


Copyright © 2005-2007 Open World Ltd. All Rights Reserved.