com.badlogic.gdx.utils
Class IdentityMap.Values<V>

java.lang.Object
  extended by com.badlogic.gdx.utils.IdentityMap.Values<V>
All Implemented Interfaces:
Iterable<V>, Iterator<V>
Enclosing class:
IdentityMap<K,V>

public static class IdentityMap.Values<V>
extends Object
implements Iterable<V>, Iterator<V>


Constructor Summary
IdentityMap.Values(IdentityMap<?,V> map)
           
 
Method Summary
 boolean hasNext()
           
 Iterator<V> iterator()
           
 V next()
           
 Array<V> toArray()
          Returns a new array containing the remaining values.
 void toArray(Array<V> array)
          Adds the remaining values to the specified array.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Iterator
remove
 

Constructor Detail

IdentityMap.Values

public IdentityMap.Values(IdentityMap<?,V> map)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<V>

next

public V next()
Specified by:
next in interface Iterator<V>

iterator

public Iterator<V> iterator()
Specified by:
iterator in interface Iterable<V>

toArray

public Array<V> toArray()
Returns a new array containing the remaining values.


toArray

public void toArray(Array<V> array)
Adds the remaining values to the specified array.



Copyright © 2013. All Rights Reserved.