public class ThreadedYieldAdapter<T> extends java.lang.Object implements YieldAdapter<T>
Modifier and Type | Class and Description |
---|---|
(package private) class |
ThreadedYieldAdapter.Message
Message structure to pass values between threads.
|
(package private) class |
ThreadedYieldAdapter.ValueMessage
The vehicle to pass the actual values.
|
Constructor and Description |
---|
ThreadedYieldAdapter() |
Modifier and Type | Method and Description |
---|---|
YieldAdapterIterable<T> |
adapt(Collector<T> client)
Convert a method that implements the Collector<> class with a standard Iterable<>.
|
public YieldAdapterIterable<T> adapt(Collector<T> client)
adapt
in interface YieldAdapter<T>