|Modifier and Type||Method and Description|
Returns the next element as a primitive type.
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, forEachRemaining, next, skip
public UnmodifiableIterator(ShortIterator i)
public boolean hasNext()
trueif the iteration has more elements. (In other words, returns
Iterator.next()would return an element rather than throwing an exception.)