|
PCJ API Version 1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This class represents iterators over lists of double values.
ListIterator| Method Summary | |
void |
add(double v)
Adds a specified element to the list at this iterator's current position. |
boolean |
hasPrevious()
Indicates whether more double values can be returned by this iterator by calling previous(). |
int |
nextIndex()
Returns the index of the element that would be returned by a call to next(). |
double |
previous()
Returns the previous double value of this iterator. |
int |
previousIndex()
Returns the index of the element that would be returned by a call to previous(). |
void |
set(double v)
Sets the last element returned to a specified value. |
| Methods inherited from interface bak.pcj.DoubleIterator |
hasNext, next, remove |
| Method Detail |
public void add(double v)
v - the element to add.
UnsupportedOperationException - if addition is not supported by this
iterator.public boolean hasPrevious()
previous()public int nextIndex()
DoubleIterator.next()public double previous()
NoSuchElementException - if no more elements are available from this
iterator in backwards direction.hasPrevious()public int previousIndex()
previous()public void set(double v)
v - the new value of the element.
UnsupportedOperationException - if replacement is not supported by this iterator.
IllegalStateException - if no element has been returned by this iterator
yet.
|
PCJ API Version 1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||