|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deduced.PropertyCollectionKeyIterator<K,V>
K - the type of keys in the mapV - the type of values in the mappublic class PropertyCollectionKeyIterator<K,V>

Iterator used to browse a property collection and return the keys
| Field Summary | |
|---|---|
private PropertyCollection<K,V> |
collection
the collection to browse |
private K |
currentkey
the current key pointed by the iterator |
private java.util.Iterator<K> |
keyIterator
the iterator in the actual collection |
| Constructor Summary | |
|---|---|
PropertyCollectionKeyIterator(PropertyCollection<K,V> setCollection,
java.util.Iterator<K> setKeyIterator)
constructor |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
(non-Javadoc) |
K |
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 |
|---|
private PropertyCollection<K,V> collection
private java.util.Iterator<K> keyIterator
private K currentkey
| Constructor Detail |
|---|
public PropertyCollectionKeyIterator(PropertyCollection<K,V> setCollection,
java.util.Iterator<K> setKeyIterator)
setCollection - the collection to browsesetKeyIterator - the key iterator backing the actual property
collection| Method Detail |
|---|
public void remove()
remove in interface java.util.Iterator<K>Iterator.remove()public boolean hasNext()
hasNext in interface java.util.Iterator<K>Iterator.hasNext()public K next()
next in interface java.util.Iterator<K>Iterator.next()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||