AIN - The first part of the input pairBIN - The second part of the input pairAOUT - The first part of the output pairBOUT - The second part of the output pairAM - BM - public class CombinedMetaPayloadFunction<AIN,AOUT,BIN,BOUT,AM,BM> extends Object implements Function<MetaPayload<IndependentPair<AIN,BIN>,IndependentPair<AM,BM>>,MetaPayload<IndependentPair<AOUT,BOUT>,IndependentPair<AM,BM>>>
IndependentPair instances)
apply two functions (one to each compo| Constructor and Description |
|---|
CombinedMetaPayloadFunction(Function<MetaPayload<AIN,AM>,MetaPayload<AOUT,AM>> fA,
Function<MetaPayload<BIN,BM>,MetaPayload<BOUT,BM>> fB) |
| Modifier and Type | Method and Description |
|---|---|
MetaPayload<IndependentPair<AOUT,BOUT>,IndependentPair<AM,BM>> |
apply(MetaPayload<IndependentPair<AIN,BIN>,IndependentPair<AM,BM>> inaggr)
Apply the function to the input argument and return the result.
|
public CombinedMetaPayloadFunction(Function<MetaPayload<AIN,AM>,MetaPayload<AOUT,AM>> fA, Function<MetaPayload<BIN,BM>,MetaPayload<BOUT,BM>> fB)
fA - fB - public MetaPayload<IndependentPair<AOUT,BOUT>,IndependentPair<AM,BM>> apply(MetaPayload<IndependentPair<AIN,BIN>,IndependentPair<AM,BM>> inaggr)
Functionapply in interface Function<MetaPayload<IndependentPair<AIN,BIN>,IndependentPair<AM,BM>>,MetaPayload<IndependentPair<AOUT,BOUT>,IndependentPair<AM,BM>>>inaggr - the input object