Package arc.struct

Class IntMap.Keys

java.lang.Object
arc.struct.IntMap.Keys
All Implemented Interfaces:
Iterable<Integer>, Iterator<Integer>
Enclosing class:
IntMap<V>

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

    • hasNext

      public boolean hasNext
  • Constructor Details

    • Keys

      public Keys(IntMap<?> map)
  • Method Details

    • next

      public Integer next()
      Specified by:
      next in interface Iterator<Integer>
    • nextKey

      public int nextKey()
    • toArray

      public IntSeq toArray()
      Returns a new array containing the remaining keys.
    • iterator

      public Iterator<Integer> iterator()
      Specified by:
      iterator in interface Iterable<Integer>
    • reset

      public void reset()
    • remove

      public void remove()
    • hasNext

      public boolean hasNext()