Interface Initializer<VA>

Type Parameters:
VA - aggregate value type

public interface Initializer<VA>
The Initializer interface for creating an initial value in aggregations. Initializer is used in combination with Aggregator.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the initial value for an aggregation.
  • Method Details

    • apply

      VA apply()
      Return the initial value for an aggregation.
      Returns:
      the initial value for an aggregation