Package arc.struct

Class ObjectIntMap.Keys<K>

java.lang.Object
arc.struct.ObjectIntMap.Keys<K>
All Implemented Interfaces:
Iterable<K>, Iterator<K>
Enclosing class:
ObjectIntMap<K>

public static class ObjectIntMap.Keys<K> extends Object implements Iterable<K>, Iterator<K>
  • Field Details

    • hasNext

      public boolean hasNext
  • Constructor Details

  • Method Details

    • hasNext

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

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

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

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

      public Seq<K> toArray(Seq<K> array)
      Adds the remaining keys to the array.
    • remove

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

      public void reset()