net.infonode.util.collection.map
Class ConstVectorMap.ConstIterator

java.lang.Object
  extended by net.infonode.util.collection.map.ConstVectorMap.ConstIterator
All Implemented Interfaces:
ConstMapIterator
Enclosing class:
ConstVectorMap

private class ConstVectorMap.ConstIterator
extends java.lang.Object
implements ConstMapIterator


Field Summary
private  int index
           
private  ConstMapIterator iterator
           
 
Constructor Summary
ConstVectorMap.ConstIterator()
           
 
Method Summary
private  void advance()
           
 boolean atEntry()
          Returns true if the iterator points to an entry in the map.
 java.lang.Object getKey()
          Returns the key at the current map entry.
 java.lang.Object getValue()
          Returns the value at the current map entry.
 void next()
          Advance the iterator to the next entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

private int index

iterator

private ConstMapIterator iterator
Constructor Detail

ConstVectorMap.ConstIterator

ConstVectorMap.ConstIterator()
Method Detail

getKey

public java.lang.Object getKey()
Description copied from interface: ConstMapIterator
Returns the key at the current map entry.

Specified by:
getKey in interface ConstMapIterator
Returns:
the key at the current map entry

getValue

public java.lang.Object getValue()
Description copied from interface: ConstMapIterator
Returns the value at the current map entry.

Specified by:
getValue in interface ConstMapIterator
Returns:
the value at the current map entry

next

public void next()
Description copied from interface: ConstMapIterator
Advance the iterator to the next entry.

Specified by:
next in interface ConstMapIterator

atEntry

public boolean atEntry()
Description copied from interface: ConstMapIterator
Returns true if the iterator points to an entry in the map.

Specified by:
atEntry in interface ConstMapIterator
Returns:
true if the iterator points to an entry in the map

advance

private void advance()