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