org.apache.commons.collections.primitives.adapters
public class CharListIteratorListIterator extends Object implements ListIterator
CharListIterator to the
ListIterator ListIterator interface.
This implementation delegates most methods
to the provided CharListIterator
implementation in the "obvious" way.
Since: Commons Primitives 1.0
Version: $Revision: 1.3 $ $Date: 2003/10/16 20:49:39 $
| Field Summary | |
|---|---|
| CharListIterator | _iterator |
| Constructor Summary | |
|---|---|
| CharListIteratorListIterator(CharListIterator iterator)
Creates an ListIterator ListIterator wrapping
the specified CharListIterator. | |
| 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(CharListIterator iterator)
Create a ListIterator ListIterator wrapping
the specified CharListIterator. |
ListIterator ListIterator wrapping
the specified CharListIterator.See Also: CharListIteratorListIterator
ListIterator ListIterator wrapping
the specified CharListIterator. When
the given iterator is null,
returns null.
Parameters: iterator the (possibly null)
CharListIterator to wrap
Returns: a ListIterator ListIterator wrapping the given
iterator, or null when iterator is
null.