interface.
implementation in the "obvious" way.
| Method from org.apache.commons.collections.primitives.adapters.ListIteratorByteListIterator Detail: |
public void add(byte element) {
_iterator.add(new Byte(element));
}
|
public boolean hasNext() {
return _iterator.hasNext();
}
|
public boolean hasPrevious() {
return _iterator.hasPrevious();
}
|
public byte next() {
return ((Number)_iterator.next()).byteValue();
}
|
public int nextIndex() {
return _iterator.nextIndex();
}
|
public byte previous() {
return ((Number)_iterator.previous()).byteValue();
}
|
public int previousIndex() {
return _iterator.previousIndex();
}
|
public void remove() {
_iterator.remove();
}
|
public void set(byte element) {
_iterator.set(new Byte(element));
}
|
public static ByteListIterator wrap(ListIterator iterator) {
return null == iterator ? null : new ListIteratorByteListIterator(iterator);
}
|