groovyx.gpars.extra166y
Class ParallelDoubleArray.ListIter

java.lang.Object
  extended by 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
           
 
Constructor Summary
ParallelDoubleArray.ListIter(int lo)
           
 
Method Summary
 void add(java.lang.Double e)
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 java.lang.Double next()
           
 int nextIndex()
           
 java.lang.Double previous()
           
 int previousIndex()
           
 void remove()
           
 void set(java.lang.Double 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

double[] arr

hi

int hi
Constructor Detail

ParallelDoubleArray.ListIter

ParallelDoubleArray.ListIter(int lo)
Method Detail

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>

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