groovyx.gpars.extra166y
Class ParallelArray.ParallelArrayIterator<T>

java.lang.Object
  extended by groovyx.gpars.extra166y.ParallelArray.ParallelArrayIterator<T>
All Implemented Interfaces:
java.util.Iterator<T>
Enclosing class:
ParallelArray<T>

static final class ParallelArray.ParallelArrayIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>


Field Summary
(package private)  T[] arr
           
(package private)  int cursor
           
(package private)  int hi
           
 
Constructor Summary
ParallelArray.ParallelArrayIterator(T[] a, int limit)
           
 
Method Summary
 boolean hasNext()
           
 T next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cursor

int cursor

arr

final T[] arr

hi

final int hi
Constructor Detail

ParallelArray.ParallelArrayIterator

ParallelArray.ParallelArrayIterator(T[] a,
                                    int limit)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<T>

next

public T next()
Specified by:
next in interface java.util.Iterator<T>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<T>

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