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