|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ojb.odmg.collections.DListIterator_2
Insert the type's description here. Creation date: (09.02.2001 15:49:39)
| Field Summary | |
protected java.util.ListIterator |
iter
|
| Constructor Summary | |
DListIterator_2(DListImpl_2 list)
DListIterator constructor comment. |
|
DListIterator_2(DListImpl_2 list,
int index)
DListIterator constructor comment. |
|
| Method Summary | |
void |
add(java.lang.Object obj)
Inserts the specified element into the list (optional operation). |
boolean |
hasNext()
Returns true if the iteration has more elements. |
boolean |
hasPrevious()
Returns true if this list iterator has more elements when traversing the list in the reverse direction. |
java.lang.Object |
next()
Returns the next element in the interation. |
int |
nextIndex()
Returns the index of the element that would be returned by a subsequent call to next. |
java.lang.Object |
previous()
Returns the previous element in the list. |
int |
previousIndex()
Returns the index of the element that would be returned by a subsequent call to previous. |
void |
remove()
Removes from the underlying collection the last element returned by the iterator (optional operation). |
void |
set(java.lang.Object o)
Replaces the last element returned by next or previous with the specified element (optional operation). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.ListIterator iter
| Constructor Detail |
public DListIterator_2(DListImpl_2 list)
public DListIterator_2(DListImpl_2 list,
int index)
| Method Detail |
public void add(java.lang.Object obj)
add in interface java.util.ListIteratorjava.lang.UnsupportedOperationException - if the add method is
not supported by this list iterator.
java.lang.ClassCastException - if the class of the specified element
prevents it from being added to this Set.
java.lang.IllegalArgumentException - if some aspect of this element
prevents it from being added to this Collection.public boolean hasNext()
hasNext in interface java.util.ListIteratorpublic boolean hasPrevious()
hasPrevious in interface java.util.ListIteratorpublic java.lang.Object next()
next in interface java.util.ListIteratorNoSuchElementException - iteration has no more elements.public int nextIndex()
nextIndex in interface java.util.ListIteratorpublic java.lang.Object previous()
previous in interface java.util.ListIteratorNoSuchElementException - if the iteration has no previous
element.public int previousIndex()
previousIndex in interface java.util.ListIteratorpublic void remove()
remove in interface java.util.ListIteratorjava.lang.UnsupportedOperationException - if the remove
operation is not supported by this Iterator.
java.lang.IllegalStateException - if the next method has not
yet been called, or the remove method has already
been called after the last call to the next
method.public void set(java.lang.Object o)
set in interface java.util.ListIteratorjava.lang.UnsupportedOperationException - if the set operation
is not supported by this list iterator.
java.lang.ClassCastException - if the class of the specified element
prevents it from being added to this list.
java.lang.IllegalArgumentException - if some aspect of the specified
element prevents it from being added to this list.
java.lang.IllegalStateException - if neither next nor
previous have been called, or remove or
add have been called after the last call to
next or previous.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||