saffron.runtime
Class ArrayIterator

java.lang.Object
  |
  +--saffron.runtime.QueueIterator
        |
        +--saffron.runtime.ThreadIterator
              |
              +--saffron.runtime.ArrayIterator
All Implemented Interfaces:
Iterable, Iterator, Runnable

class ArrayIterator
extends ThreadIterator

For testing.


Nested Class Summary
 
Nested classes inherited from class saffron.runtime.ThreadIterator
ThreadIterator.Test
 
Field Summary
(package private)  Object[] a_
           
 
Constructor Summary
(package private) ArrayIterator(Object[] a)
           
 
Method Summary
protected  void doWork()
          The implementation should call QueueIterator.put(java.lang.Object) with each row.
 
Methods inherited from class saffron.runtime.ThreadIterator
done, hasNext, iterator, next, put, remove, run, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Field Detail

a_

Object[] a_
Constructor Detail

ArrayIterator

ArrayIterator(Object[] a)
Method Detail

doWork

protected void doWork()
Description copied from class: ThreadIterator
The implementation should call QueueIterator.put(java.lang.Object) with each row.

Specified by:
doWork in class ThreadIterator

SourceForge.net_Logo