public static class OrderedMap.OrderedMapKeys<K> extends ObjectMap.Keys<K>
Constructor and Description |
---|
OrderedMapKeys(OrderedMap<K,?> map) |
Modifier and Type | Method and Description |
---|---|
K |
next() |
void |
remove() |
void |
reset() |
Array<K> |
toArray()
Returns a new array containing the remaining keys.
|
Array<K> |
toArray(Array<K> array)
Adds the remaining keys to the array.
|
hasNext, iterator
public OrderedMapKeys(OrderedMap<K,?> map)
public void reset()
public K next()
next
in interface java.util.Iterator<K>
next
in class ObjectMap.Keys<K>
public void remove()
remove
in interface java.util.Iterator<K>
public Array<K> toArray(Array<K> array)
ObjectMap.Keys
toArray
in class ObjectMap.Keys<K>
public Array<K> toArray()
ObjectMap.Keys
toArray
in class ObjectMap.Keys<K>