Save This Page
Home » commons-collections-3.2.1-src » org.apache.commons » collections » primitives » [javadoc | source]
org.apache.commons.collections.primitives
public interface: ShortIterator [javadoc | source]

All Known Implementing Classes:
    ShortListIterator, ProxyShortListIterator, ProxyShortIterator, UnmodifiableShortListIterator, UnmodifiableShortIterator, ListIteratorShortListIterator, RandomAccessShortListIterator, IteratorShortIterator

An iterator over short values.
Method from org.apache.commons.collections.primitives.ShortIterator Summary:
hasNext,   next,   remove
Method from org.apache.commons.collections.primitives.ShortIterator Detail:
 public boolean hasNext()
    Returns true iff I have more elements. (In other words, returns true iff a subsequent call to next will return an element rather than throwing an exception.)
 public short next()
    Returns the next element in me.
 public  void remove()
    Removes from my underlying collection the last element returned by me (optional operation).