Paste
Pasted as Java by abc ( 6 years ago )
Map<String, Map<Fee, Map<Fee, List<Fee>>>> map = InputFee.stream()
.collect(groupingBy(Fee::getClientId, groupingBy(Fee::getSecurityId, groupingBy(Fee::getTransactionDate)))
);
// need to group by ClientId , securityID and getTransactionDate but different Transaction Type
Revise this Paste