T
- Any value typepublic class IterableMapValue<T>
extends java.lang.Object
implements java.util.Iterator<T>, java.lang.Iterable<T>
Map.entrySet()
to an Iterable
over the values.
The key is not used, but the key determines the order of the iteration.
But the key have to be of type String.Modifier and Type | Field and Description |
---|---|
private java.util.Iterator<java.util.Map.Entry<java.lang.String,T>> |
set |
Constructor and Description |
---|
IterableMapValue(java.util.Set<java.util.Map.Entry<java.lang.String,T>> set) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
java.util.Iterator<T> |
iterator() |
T |
next() |