groovyx.gpars.extra166y
Class ParallelLongArray.ListIter

java.lang.Object
  extended by 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
           
 
Constructor Summary
ParallelLongArray.ListIter(int lo)
           
 
Method Summary
 void add(java.lang.Long e)
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 java.lang.Long next()
           
 int nextIndex()
           
 java.lang.Long previous()
           
 int previousIndex()
           
 void remove()
           
 void set(java.lang.Long e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cursor

int cursor

lastRet

int lastRet

arr

long[] arr

hi

int hi
Constructor Detail

ParallelLongArray.ListIter

ParallelLongArray.ListIter(int lo)
Method Detail

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>

Copyright © 2008–2012 Václav Pech. All Rights Reserved.