org.apache.commons.collections.primitives.adapters
public class ListIteratorCharListIterator extends Object implements CharListIterator
ListIterator ListIterator
to the CharListIterator 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 | |
|---|---|
| ListIterator | _iterator |
| Constructor Summary | |
|---|---|
| ListIteratorCharListIterator(ListIterator iterator)
Creates an CharListIterator wrapping
the specified ListIterator ListIterator. | |
| Method Summary | |
|---|---|
| void | add(char element) |
| boolean | hasNext() |
| boolean | hasPrevious() |
| char | next() |
| int | nextIndex() |
| char | previous() |
| int | previousIndex() |
| void | remove() |
| void | set(char element) |
| static CharListIterator | wrap(ListIterator iterator)
Create an CharListIterator wrapping
the specified ListIterator ListIterator. |
CharListIterator wrapping
the specified ListIterator ListIterator.See Also: ListIteratorCharListIterator
CharListIterator wrapping
the specified ListIterator ListIterator. When
the given iterator is null,
returns null.
Parameters: iterator the (possibly null)
ListIterator ListIterator to wrap
Returns: an CharListIterator wrapping the given
iterator, or null when iterator is
null.