net.sf.saffron.runtime
Class ArrayIterator

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

class ArrayIterator
extends ThreadIterator

For testing.


Nested Class Summary
 
Nested classes inherited from class net.sf.saffron.runtime.ThreadIterator
ThreadIterator.Test
 
Field Summary
(package private)  Object[] a_
           
 
Fields inherited from class net.sf.saffron.runtime.QueueIterator
 
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 net.sf.saffron.runtime.ThreadIterator
iterator, run, start
 
Methods inherited from class net.sf.saffron.runtime.QueueIterator
done, hasNext, next, put, remove
 
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