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