Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- data=pair1.stream()
- .filter(p -> p.getDestinationETD().compareTo(today) >= 0)
- .min(Comparator.comparing(Details::getDestinationETD)).get()
- .collect(Collectors.toList());
- The method collect(Collectors.toList()) is undefined for the type Details
Add Comment
Please, Sign In to add comment