Interface ShortIterator

    • Method Summary

      Modifier and Type Method Description
      ShortIterator clone()
      Creates a copy of the iterator.
      boolean hasNext()  
      short next()  
      int nextAsInt()  
      void remove()
      If possible, remove the current value
    • Method Detail

      • clone

        ShortIterator clone()
        Creates a copy of the iterator.
        Returns:
        a clone of the current iterator
      • hasNext

        boolean hasNext()
        Returns:
        whether there is another value
      • next

        short next()
        Returns:
        next short value
      • nextAsInt

        int nextAsInt()
        Returns:
        next short value as int value (using the least significant 16 bits)
      • remove

        void remove()
        If possible, remove the current value