org.deduced
Class PropertyMap.ValueIterator

java.lang.Object
  extended by org.deduced.PropertyMap.ValueIterator
All Implemented Interfaces:
java.util.Iterator<V>
Enclosing class:
PropertyMap<K,V>

protected class PropertyMap.ValueIterator
extends java.lang.Object
implements java.util.Iterator<V>

Title: ValueIterator

Description: Iterator that iterates a list of map entries and returns the values directly instead of the map entries


Field Summary
private  java.util.Map.Entry<K,Property<V>> currentEntry
          current entry
private  java.util.Iterator<java.util.Map.Entry<K,Property<V>>> iteratorSource
          the iterator that browse the map implementation
 
Constructor Summary
PropertyMap.ValueIterator(java.util.Iterator<java.util.Map.Entry<K,Property<V>>> it)
          constructor
 
Method Summary
 boolean hasNext()
          (non-Javadoc)
 V next()
          (non-Javadoc)
 void remove()
          (non-Javadoc)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iteratorSource

private java.util.Iterator<java.util.Map.Entry<K,Property<V>>> iteratorSource
the iterator that browse the map implementation


currentEntry

private java.util.Map.Entry<K,Property<V>> currentEntry
current entry

Constructor Detail

PropertyMap.ValueIterator

public PropertyMap.ValueIterator(java.util.Iterator<java.util.Map.Entry<K,Property<V>>> it)
constructor

Parameters:
it - the iterator that browse the map implementation
Method Detail

hasNext

public boolean hasNext()
(non-Javadoc)

Specified by:
hasNext in interface java.util.Iterator<V>
See Also:
Iterator.hasNext()

next

public V next()
(non-Javadoc)

Specified by:
next in interface java.util.Iterator<V>
See Also:
Iterator.next()

remove

public void remove()
(non-Javadoc)

Specified by:
remove in interface java.util.Iterator<V>
See Also:
Iterator.remove()