class SpendProfileTableCalculator {

    public BigDecimal calculateTotalOfAllEligibleTotals(Map<Long, BigDecimal> eligibleCostData) {
        return eligibleCostData
                .values()
                .stream()
                .reduce(BigDecimal.ZERO, BigDecimal::add);
    }

}