org.apache.commons.collections.primitives
public interface: IntIterator [javadoc |
source]
All Known Implementing Classes:
IntListIterator, ListIteratorIntListIterator, UnmodifiableIntListIterator, ProxyIntIterator, RandomAccessIntListIterator, IteratorIntIterator, UnmodifiableIntIterator, ProxyIntListIterator
An iterator over
int values.
| Method from org.apache.commons.collections.primitives.IntIterator Summary: |
|---|
|
hasNext, next, remove |
| Method from org.apache.commons.collections.primitives.IntIterator 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 int next()
Returns the next element in me. |
public void remove()
Removes from my underlying collection the last
element returned by me
(optional operation). |