org.deduced
Class PropertyMapEntryIterator<K,V>

java.lang.Object
  extended by org.deduced.PropertyMapEntryIterator<K,V>
Type Parameters:
K - the type of keys in the map
V - the type of values in the map
All Implemented Interfaces:
java.util.Iterator<java.util.Map.Entry<K,Property<V>>>

 class PropertyMapEntryIterator<K,V>
extends java.lang.Object
implements java.util.Iterator<java.util.Map.Entry<K,Property<V>>>

Iterator used to browse a property collection and return map entry objects in which the value is a property object.

Author:
Steve McDuff

Field Summary
private  PropertyCollection<K,V> collection
          the collection to browse
private  java.util.Iterator<K> keyIterator
          the iterator in the actual collection
 
Constructor Summary
PropertyMapEntryIterator(PropertyCollection<K,V> setCollection)
          constructor
 
Method Summary
 boolean hasNext()
          (non-Javadoc)
 java.util.Map.Entry<K,Property<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

collection

private PropertyCollection<K,V> collection
the collection to browse


keyIterator

private java.util.Iterator<K> keyIterator
the iterator in the actual collection

Constructor Detail

PropertyMapEntryIterator

public PropertyMapEntryIterator(PropertyCollection<K,V> setCollection)
constructor

Parameters:
setCollection - the collection to browse
Method Detail

remove

public void remove()
(non-Javadoc)

Specified by:
remove in interface java.util.Iterator<java.util.Map.Entry<K,Property<V>>>
See Also:
Iterator.remove()

hasNext

public boolean hasNext()
(non-Javadoc)

Specified by:
hasNext in interface java.util.Iterator<java.util.Map.Entry<K,Property<V>>>
See Also:
Iterator.hasNext()

next

public java.util.Map.Entry<K,Property<V>> next()
(non-Javadoc)

Specified by:
next in interface java.util.Iterator<java.util.Map.Entry<K,Property<V>>>
See Also:
Iterator.next()