Package com.helger.commons.aggregate
Interface IAggregator<SRCTYPE,DSTTYPE>
-
- Type Parameters:
SRCTYPE- The input type.DSTTYPE- The output type.
- All Superinterfaces:
Function<Collection<SRCTYPE>,DSTTYPE>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IAggregator<SRCTYPE,DSTTYPE> extends Function<Collection<SRCTYPE>,DSTTYPE>
Aggregate a list of input objects to a single output object (change n to 1).- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default DSTTYPEapply(SRCTYPE... aObjects)Aggregate a array of input objects to a single output object.
-