groovyx.gpars.extra166y
Class ParallelDoubleArray.ListIter
java.lang.Object
groovyx.gpars.extra166y.ParallelDoubleArray.ListIter
- All Implemented Interfaces:
- java.util.Iterator<java.lang.Double>, java.util.ListIterator<java.lang.Double>
- Enclosing class:
- ParallelDoubleArray
final class ParallelDoubleArray.ListIter
- extends java.lang.Object
- implements java.util.ListIterator<java.lang.Double>
Field Summary |
(package private) double[] |
arr
|
(package private) int |
cursor
|
(package private) int |
hi
|
(package private) int |
lastRet
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cursor
int cursor
lastRet
int lastRet
arr
double[] arr
hi
int hi
ParallelDoubleArray.ListIter
ParallelDoubleArray.ListIter(int lo)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator<java.lang.Double>
- Specified by:
hasNext
in interface java.util.ListIterator<java.lang.Double>
next
public java.lang.Double next()
- Specified by:
next
in interface java.util.Iterator<java.lang.Double>
- Specified by:
next
in interface java.util.ListIterator<java.lang.Double>
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator<java.lang.Double>
- Specified by:
remove
in interface java.util.ListIterator<java.lang.Double>
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interface java.util.ListIterator<java.lang.Double>
previous
public java.lang.Double previous()
- Specified by:
previous
in interface java.util.ListIterator<java.lang.Double>
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interface java.util.ListIterator<java.lang.Double>
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interface java.util.ListIterator<java.lang.Double>
set
public void set(java.lang.Double e)
- Specified by:
set
in interface java.util.ListIterator<java.lang.Double>
add
public void add(java.lang.Double e)
- Specified by:
add
in interface java.util.ListIterator<java.lang.Double>