Interface OperationStatistic<T extends Enum<T>>

    • Method Detail

      • statistic

        default ValueStatistic<Long> statistic​(T result)
        Return a ValueStatistic returning the count for the given result.
        Parameters:
        result - the result of interest
        Returns:
        a ValueStatistic instance
      • count

        long count​(T type)
        Return the count of operations with the given type.
        Parameters:
        type - the result type
        Returns:
        the operation count
      • sum

        long sum​(Set<T> types)
      • sum

        long sum()