| Constructor and Description |
|---|
Binary() |
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2> BiConsumer<T1,T2> |
pipeline(Iterable<BiConsumer<T1,T2>> actions)
Creates a pipeline from an iterable of binary actions.
|
static <T1,T2> BiConsumer<T1,T2> |
pipeline(Iterator<BiConsumer<T1,T2>> actions)
Creates a pipeline from an iterator of binary actions.
|
public static <T1,T2> BiConsumer<T1,T2> pipeline(Iterable<BiConsumer<T1,T2>> actions)
T1 - the consumer first parameter typeT2 - the consumer second parameter typeactions - the iterable to be transformedpublic static <T1,T2> BiConsumer<T1,T2> pipeline(Iterator<BiConsumer<T1,T2>> actions)
T1 - the consumer first parameter typeT2 - the consumer second parameter typeactions - the iterator to be transformedCopyright © 2017. All rights reserved.