Interface IAggregateFunction<D>

  • Type Parameters:
    D - The domain of the aggregation function. For
    All Known Subinterfaces:
    IRealsAggregateFunction, IStringAggregateFunction
    All Known Implementing Classes:
    Concat, Max, Mean, Median, Min

    public interface IAggregateFunction<D>
    An aggregate function takes a collection of values and returnes a single value representing some kind of aggregation of the collection. In the case of having a collection of reals, this can be for instance the minimum or the maximum.
    • Method Detail

      • aggregate

        D aggregate​(java.util.List<D> values)
        Aggregates the collection of values to a single value.
        Parameters:
        values - The collection of values to be aggregated.
        Returns:
        The aggregated value.