transactions.removeIf(transaction ->
Character.isDigit(transaction.getReferenceCode().charAt(0)));
요소제거는 removeIf 메서드를 사용하면 된다.
그럼 바꾸는건 ? replaceAll 메서드를 사용하면 된다.
referenceCodes.repalceAll(code -> Character.toUpperCase(code.charAt(0)) + code.substring(1));