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 Knext()voidremove()voidreset()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:
nextin interfacejava.util.Iterator<K>- Overrides:
nextin classObjectMap.Keys<K>
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<K>
-
toArray
public Array<K> toArray(Array<K> array)
Description copied from class:ObjectMap.KeysAdds the remaining keys to the array.- Overrides:
toArrayin classObjectMap.Keys<K>
-
toArray
public Array<K> toArray()
Description copied from class:ObjectMap.KeysReturns a new array containing the remaining keys.- Overrides:
toArrayin classObjectMap.Keys<K>
-
-