Class QuantityTypeArithmeticGroupFunction.Sum

    • Constructor Detail

      • Sum

        public Sum​(Class<? extends javax.measure.Quantity<?>> dimension)
    • Method Detail

      • calculate

        public State calculate​(@Nullable Set<Item> items)
        Description copied from interface: GroupFunction
        Determines the current state of a group based on a list of items
        Parameters:
        items - the items to calculate a group state for
        Returns:
        the calculated group state