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>
  • Field Summary

    Fields
    Modifier and Type Field Description
    boolean hasNext  
  • Constructor Summary

    Constructors
    Constructor Description
    Keys​(ObjectDoubleMap<K> map)  
  • Method Summary

    Modifier and Type Method Description
    boolean hasNext()  
    ObjectDoubleMap.Keys<K> iterator()  
    K next()  
    void remove()  
    void reset()  
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator

    Methods inherited from interface java.util.Iterator

    forEachRemaining, remove
  • Field Details

    • hasNext

      public boolean hasNext
  • Constructor Details

  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface java.util.Iterator<K>
    • next

      public K next()
      Specified by:
      next in interface java.util.Iterator<K>
    • iterator

      public ObjectDoubleMap.Keys<K> iterator()
      Specified by:
      iterator in interface java.lang.Iterable<K>
    • toArray

      public com.badlogic.gdx.utils.Array<K> toArray()
      Returns a new array containing the remaining keys.
    • toArray

      public com.badlogic.gdx.utils.Array<K> toArray​(com.badlogic.gdx.utils.Array<K> array)
      Adds the remaining keys to the array.
    • reset

      public void reset()
    • remove

      public void remove()