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

All Known Implementing Classes:
    UnmodifiableLongListIterator, ListIteratorLongListIterator, LongListIterator, RandomAccessLongListIterator, ProxyLongIterator, IteratorLongIterator, UnmodifiableLongIterator, ProxyLongListIterator

An iterator over long values.
Method from org.apache.commons.collections.primitives.LongIterator Summary:
hasNext,   next,   remove
Method from org.apache.commons.collections.primitives.LongIterator 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 long next()
    Returns the next element in me.
 public  void remove()
    Removes from my underlying collection the last element returned by me (optional operation).