Package com.badlogic.gdx.utils
Class ObjectIntMap.Keys<K>
- java.lang.Object
-
- com.badlogic.gdx.utils.ObjectIntMap.Keys<K>
-
- All Implemented Interfaces:
java.lang.Iterable<K>,java.util.Iterator<K>
- Enclosing class:
- ObjectIntMap<K>
public static class ObjectIntMap.Keys<K> extends java.lang.Object implements java.lang.Iterable<K>, java.util.Iterator<K>
-
-
Constructor Summary
Constructors Constructor Description Keys(ObjectIntMap<K> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()ObjectIntMap.Keys<K>iterator()Knext()Array<K>toArray()Returns a new array containing the remaining keys.Array<K>toArray(Array<K> array)Adds the remaining keys to the array.
-
-
-
Constructor Detail
-
Keys
public Keys(ObjectIntMap<K> map)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<K>
-
iterator
public ObjectIntMap.Keys<K> iterator()
- Specified by:
iteratorin interfacejava.lang.Iterable<K>
-
-