|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectBiList.BiIterator
private class BiList.BiIterator
A true inner class that includes a link (BiList.this) to the enclosing BiList.
Field Summary | |
---|---|
(package private) BiList.Node<E> |
current
|
Constructor Summary | |
---|---|
BiList.BiIterator()
|
Method Summary | |
---|---|
boolean |
atEnd()
|
boolean |
atStart()
Returns true if CircList is non-empty and current is the first node in the list. |
E |
currentItem()
|
E |
first()
Moves cursor to the first element f of the collection. |
void |
insert(E o)
Destructively inserts the object o immediately before the current item. |
E |
last()
Places the cursor on the last element l of the collection. |
E |
next()
Moves cursor to the next element n of the collection. |
E |
prev()
Moves cursor to the previous element p of the collection. |
E |
remove()
Removes the current item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
BiList.Node<E> current
Constructor Detail |
---|
BiList.BiIterator()
Method Detail |
---|
public E first()
BiIteratorI
first
in interface BiIteratorI<E>
public E last()
BiIteratorI
last
in interface BiIteratorI<E>
public E next()
BiIteratorI
next
in interface BiIteratorI<E>
public E prev()
BiIteratorI
prev
in interface BiIteratorI<E>
public E currentItem()
currentItem
in interface BiIteratorI<E>
public boolean atEnd()
atEnd
in interface BiIteratorI<E>
public boolean atStart()
atStart
in interface BiIteratorI<E>
public void insert(E o)
BiIteratorI
insert
in interface BiIteratorI<E>
public E remove()
BiIteratorI
remove
in interface BiIteratorI<E>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |