Interface ShortIterator

All Known Subinterfaces:
ShortAdvanceIterator
All Known Implementing Classes:
SingletonContainer.ReverseIter

public interface ShortIterator
Iterator over short values.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    short
     
    int
     
  • Method Details

    • 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)