Package com.badlogic.gdx.utils
Class OrderedMap.OrderedMapKeys<K>
- java.lang.Object
-
- com.badlogic.gdx.utils.ObjectMap.Keys<K>
-
- com.badlogic.gdx.utils.OrderedMap.OrderedMapKeys<K>
-
- All Implemented Interfaces:
java.lang.Iterable<K>
,java.util.Iterator<K>
- Enclosing class:
- OrderedMap<K,V>
public static class OrderedMap.OrderedMapKeys<K> extends ObjectMap.Keys<K>
-
-
Constructor Summary
Constructors Constructor Description OrderedMapKeys(OrderedMap<K,?> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.badlogic.gdx.utils.ObjectMap.Keys
hasNext, iterator
-
-
-
-
Constructor Detail
-
OrderedMapKeys
public OrderedMapKeys(OrderedMap<K,?> map)
-
-
Method Detail
-
reset
public void reset()
-
next
public K next()
- Specified by:
next
in interfacejava.util.Iterator<K>
- Overrides:
next
in classObjectMap.Keys<K>
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<K>
-
toArray
public Array<K> toArray(Array<K> array)
Description copied from class:ObjectMap.Keys
Adds the remaining keys to the array.- Overrides:
toArray
in classObjectMap.Keys<K>
-
toArray
public Array<K> toArray()
Description copied from class:ObjectMap.Keys
Returns a new array containing the remaining keys.- Overrides:
toArray
in classObjectMap.Keys<K>
-
-