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