Package com.gengoai.concurrent
Class BrokerIterator<T,O>
- java.lang.Object
-
- com.gengoai.concurrent.BrokerIterator<T,O>
-
-
Constructor Summary
Constructors Constructor Description BrokerIterator(Broker.Producer<T> producer, Function<? super T,Stream<? extends O>> converter, int bufferSize, int nThreads)
Instantiates a new Broker iterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
O
next()
-
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
forEachRemaining, remove
-
-