Class ThreadIteratorTest.ArrayIterator

  extended by org.eigenbase.runtime.QueueIterator
      extended by org.eigenbase.runtime.ThreadIterator
          extended by org.eigenbase.test.ThreadIteratorTest.ArrayIterator
All Implemented Interfaces:
Runnable, Iterator, Iterable
Enclosing class:

private static class ThreadIteratorTest.ArrayIterator
extends ThreadIterator

Nested Class Summary
Nested classes/interfaces inherited from class org.eigenbase.runtime.QueueIterator
Field Summary
(package private)  Object[] a
Fields inherited from class org.eigenbase.runtime.QueueIterator
hasNext, next, queue, throwable
Constructor Summary
ThreadIteratorTest.ArrayIterator(Object[] a)
Method Summary
protected  void doWork()
          The implementation should call QueueIterator.put(java.lang.Object) with each row.
Methods inherited from class org.eigenbase.runtime.ThreadIterator
iterator, onEndOfQueue, run, start
Methods inherited from class org.eigenbase.runtime.QueueIterator
checkTermination, done, hasNext, hasNext, next, next, offer, put, remove, reset
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


Object[] a
Constructor Detail


ThreadIteratorTest.ArrayIterator(Object[] a)
Method Detail


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