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