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