groovyx.gpars.extra166y
Class ParallelLongArray.ParallelLongArrayIterator

java.lang.Object
  extended by groovyx.gpars.extra166y.ParallelLongArray.ParallelLongArrayIterator
All Implemented Interfaces:
java.util.Iterator<java.lang.Long>
Enclosing class:
ParallelLongArray

static final class ParallelLongArray.ParallelLongArrayIterator
extends java.lang.Object
implements java.util.Iterator<java.lang.Long>


Field Summary
(package private)  long[] arr
           
(package private)  int cursor
           
(package private)  int hi
           
 
Constructor Summary
ParallelLongArray.ParallelLongArrayIterator(long[] a, int limit)
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Long 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 long[] arr

hi

final int hi
Constructor Detail

ParallelLongArray.ParallelLongArrayIterator

ParallelLongArray.ParallelLongArrayIterator(long[] a,
                                            int limit)
Method Detail

hasNext

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

next

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

remove

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

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