class SpendProfileCostFilter {

    public List<FinanceCostTotalResource> filterBySpendProfile(List<FinanceCostTotalResource> financeCostTotalResources) {
        return simpleFilter(
                financeCostTotalResources,
                financeResource -> financeResource.getFinanceRowType().isIncludedInSpendProfile()
        );
    }

}