|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.joda.primitives.list.impl.AbstractDoubleList.PListIterator
protected static class AbstractDoubleList.PListIterator
List iterator.
Constructor Summary | |
---|---|
protected |
AbstractDoubleList.PListIterator(AbstractDoubleList list,
int start)
|
Method Summary | |
---|---|
void |
add(double value)
Adds the specified value to the list underlying the iterator at the current iteration index (optional operation). |
void |
add(Double obj)
|
boolean |
hasNext()
|
boolean |
hasPrevious()
|
boolean |
isModifiable()
Checks whether the iterator can currently be modified. |
boolean |
isResettable()
Checks whether the iterator can be reset. |
Double |
next()
|
double |
nextDouble()
Gets the next value from the iterator |
int |
nextIndex()
|
Double |
previous()
|
double |
previousDouble()
Gets the previous value from the iterator. |
int |
previousIndex()
|
void |
remove()
|
void |
reset()
Resets the iterator back to its initial state (optional operation). |
void |
set(double value)
Sets the last retrieved value from the iterator (optional operation). |
void |
set(Double obj)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractDoubleList.PListIterator(AbstractDoubleList list, int start)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface Iterator<Double>
hasNext
in interface ListIterator<Double>
public double nextDouble()
DoubleIterator
nextDouble
in interface DoubleIterator
public Double next()
next
in interface Iterator<Double>
next
in interface ListIterator<Double>
public int nextIndex()
nextIndex
in interface ListIterator<Double>
public boolean hasPrevious()
hasPrevious
in interface ListIterator<Double>
public double previousDouble()
DoubleListIterator
previousDouble
in interface DoubleListIterator
public Double previous()
previous
in interface ListIterator<Double>
public int previousIndex()
previousIndex
in interface ListIterator<Double>
public void remove()
remove
in interface Iterator<Double>
remove
in interface ListIterator<Double>
public void add(double value)
DoubleListIterator
add
in interface DoubleListIterator
value
- the value to addpublic void add(Double obj)
add
in interface ListIterator<Double>
public void set(double value)
DoubleListIterator
set
in interface DoubleListIterator
value
- the value to setpublic void set(Double obj)
set
in interface ListIterator<Double>
public boolean isModifiable()
PrimitiveIterator
isModifiable
in interface PrimitiveIterator<Double>
true
if the modification methods of the iterator can be usedpublic boolean isResettable()
PrimitiveIterator
isResettable
in interface PrimitiveIterator<Double>
true
if the object can be resetpublic void reset()
PrimitiveIterator
reset
in interface PrimitiveIterator<Double>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |