|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.collections.iterators.ProxyListIterator
A proxy ListIterator which delegates its methods to a proxy instance.
ProxyIterator| Field Summary | |
private java.util.ListIterator |
iteratorHolds value of property "iterator". |
| Constructor Summary | |
ProxyListIterator()Constructs a new ProxyListIterator that will not function until setListIterator is invoked. |
|
ProxyListIterator(java.util.ListIterator iterator)Constructs a new ProxyListIterator that will use the given list iterator. |
|
| Method Summary | |
void |
add(java.lang.Object o)Invokes the underlying ListIterator.add(Object) method. |
java.util.ListIterator |
getListIterator()Getter for property iterator. |
boolean |
hasNext()Invokes the underlying ListIterator.hasNext() method. |
boolean |
hasPrevious()Invokes the underlying ListIterator.hasPrevious() method. |
java.lang.Object |
next()Invokes the underlying ListIterator.next() method. |
int |
nextIndex()Invokes the underlying ListIterator.nextIndex() method. |
java.lang.Object |
previous()Invokes the underlying ListIterator.previous() method. |
int |
previousIndex()Invokes the underlying ListIterator.previousIndex() method. |
void |
remove()Invokes the underlying ListIterator.remove() method. |
void |
set(java.lang.Object o)Invokes the underlying ListIterator.set(Object) method. |
void |
setListIterator(java.util.ListIterator iterator)Setter for property iterator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.util.ListIterator iterator
| Constructor Detail |
public ProxyListIterator()
ProxyListIterator that will not function until setListIterator is invoked.
public ProxyListIterator(java.util.ListIterator iterator)
ProxyListIterator that will use the given list iterator.
iterator - the list iterator to use| Method Detail |
public void add(java.lang.Object o)
ListIterator.add(Object) method.
add in interface java.util.ListIteratorjava.lang.NullPointerException - if the underyling iterator is nullpublic boolean hasNext()
ListIterator.hasNext() method.
hasNext in interface java.util.ListIteratorjava.lang.NullPointerException - if the underyling iterator is nullpublic boolean hasPrevious()
ListIterator.hasPrevious() method.
hasPrevious in interface java.util.ListIteratorjava.lang.NullPointerException - if the underyling iterator is nullpublic java.lang.Object next()
ListIterator.next() method.
next in interface java.util.ListIteratorjava.lang.NullPointerException - if the underyling iterator is nullpublic int nextIndex()
ListIterator.nextIndex() method.
nextIndex in interface java.util.ListIteratorjava.lang.NullPointerException - if the underyling iterator is nullpublic java.lang.Object previous()
ListIterator.previous() method.
previous in interface java.util.ListIteratorjava.lang.NullPointerException - if the underyling iterator is nullpublic int previousIndex()
ListIterator.previousIndex() method.
previousIndex in interface java.util.ListIteratorjava.lang.NullPointerException - if the underyling iterator is nullpublic void remove()
ListIterator.remove() method.
remove in interface java.util.ListIteratorjava.lang.NullPointerException - if the underyling iterator is nullpublic void set(java.lang.Object o)
ListIterator.set(Object) method.
set in interface java.util.ListIteratorjava.lang.NullPointerException - if the underyling iterator is nullpublic java.util.ListIterator getListIterator()
public void setListIterator(java.util.ListIterator iterator)
iterator - New value of property iterator.
|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||