com.badlogic.gdx.utils
Class ObjectMap.Values<V>
java.lang.Object
com.badlogic.gdx.utils.ObjectMap.Values<V>
- All Implemented Interfaces:
- java.lang.Iterable<V>, java.util.Iterator<V>
- Enclosing class:
- ObjectMap<K,V>
public static class ObjectMap.Values<V>
- extends java.lang.Object
- implements java.lang.Iterable<V>, java.util.Iterator<V>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Iterator |
remove |
ObjectMap.Values
public ObjectMap.Values(ObjectMap<?,V> map)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator<V>
next
public V next()
- Specified by:
next
in interface java.util.Iterator<V>
iterator
public java.util.Iterator<V> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<V>
toArray
public Array<V> toArray()
- Returns a new array containing the remaining values.
toArray
public void toArray(Array<V> array)
- Adds the value entries to the given array.
- Parameters:
array
-
Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)