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