public class ReferenceYieldAdapter<T> extends java.lang.Object implements YieldAdapter<T>
| Constructor and Description |
|---|
ReferenceYieldAdapter() |
| Modifier and Type | Method and Description |
|---|---|
YieldAdapterIterable<T> |
adapt(Collector<T> client)
Convert a method that implements the Collector<> class with a standard Iterable<>, by
collecting the results in a list, and returning an iterator to that list.
|
public YieldAdapterIterable<T> adapt(Collector<T> client) throws IllegalActionException
adapt in interface YieldAdapter<T>IllegalActionException