org.apache.commons.collections.primitives.adapters
public class ListIteratorIntListIterator extends Object implements IntListIterator
ListIterator ListIterator
to the IntListIterator interface.
This implementation delegates most methods
to the provided IntListIterator
implementation in the "obvious" way.
Since: Commons Primitives 0.1
Version: $Revision: 1.2 $ $Date: 2003/10/14 20:04:18 $
| Field Summary | |
|---|---|
| ListIterator | _iterator |
| Constructor Summary | |
|---|---|
| ListIteratorIntListIterator(ListIterator iterator)
Creates an IntListIterator wrapping
the specified ListIterator ListIterator. | |
| Method Summary | |
|---|---|
| void | add(int element) |
| boolean | hasNext() |
| boolean | hasPrevious() |
| int | next() |
| int | nextIndex() |
| int | previous() |
| int | previousIndex() |
| void | remove() |
| void | set(int element) |
| static IntListIterator | wrap(ListIterator iterator)
Create an IntListIterator wrapping
the specified ListIterator ListIterator. |
IntListIterator wrapping
the specified ListIterator ListIterator.See Also: ListIteratorIntListIterator
IntListIterator wrapping
the specified ListIterator ListIterator. When
the given iterator is null,
returns null.
Parameters: iterator the (possibly null)
ListIterator ListIterator to wrap
Returns: an IntListIterator wrapping the given
iterator, or null when iterator is
null.