com.badlogic.gdx.utils
Class ObjectSet.SetIterator<K>

java.lang.Object
  extended by com.badlogic.gdx.utils.ObjectSet.SetIterator<K>
All Implemented Interfaces:
Iterable<K>, Iterator<K>
Enclosing class:
ObjectSet<T>

public static class ObjectSet.SetIterator<K>
extends Object
implements Iterable<K>, Iterator<K>


Field Summary
 boolean hasNext
           
 
Constructor Summary
ObjectSet.SetIterator(ObjectSet<K> set)
           
 
Method Summary
 boolean hasNext()
           
 Iterator<K> iterator()
           
 K next()
           
 void remove()
           
 void reset()
           
 Array<K> toArray()
          Returns a new array containing the remaining keys.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hasNext

public boolean hasNext
Constructor Detail

ObjectSet.SetIterator

public ObjectSet.SetIterator(ObjectSet<K> set)
Method Detail

reset

public void reset()

remove

public void remove()
Specified by:
remove in interface Iterator<K>

hasNext

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

next

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

iterator

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

toArray

public Array<K> toArray()
Returns a new array containing the remaining keys.



Copyright © 2013. All Rights Reserved.