groovyx.gpars.extra166y
Class ParallelLongArray.ListIter
java.lang.Object
groovyx.gpars.extra166y.ParallelLongArray.ListIter
- All Implemented Interfaces:
- java.util.Iterator<java.lang.Long>, java.util.ListIterator<java.lang.Long>
- Enclosing class:
- ParallelLongArray
final class ParallelLongArray.ListIter
- extends java.lang.Object
- implements java.util.ListIterator<java.lang.Long>
Field Summary |
(package private) long[] |
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
long[] arr
hi
int hi
ParallelLongArray.ListIter
ParallelLongArray.ListIter(int lo)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface java.util.Iterator<java.lang.Long>
- Specified by:
hasNext
in interface java.util.ListIterator<java.lang.Long>
next
public java.lang.Long next()
- Specified by:
next
in interface java.util.Iterator<java.lang.Long>
- Specified by:
next
in interface java.util.ListIterator<java.lang.Long>
remove
public void remove()
- Specified by:
remove
in interface java.util.Iterator<java.lang.Long>
- Specified by:
remove
in interface java.util.ListIterator<java.lang.Long>
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interface java.util.ListIterator<java.lang.Long>
previous
public java.lang.Long previous()
- Specified by:
previous
in interface java.util.ListIterator<java.lang.Long>
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interface java.util.ListIterator<java.lang.Long>
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interface java.util.ListIterator<java.lang.Long>
set
public void set(java.lang.Long e)
- Specified by:
set
in interface java.util.ListIterator<java.lang.Long>
add
public void add(java.lang.Long e)
- Specified by:
add
in interface java.util.ListIterator<java.lang.Long>