mobilefish

Untitled

Oct 17th, 2019
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. data=pair1.stream()
  2. .filter(p -> p.getDestinationETD().compareTo(today) >= 0)
  3. .min(Comparator.comparing(Details::getDestinationETD)).get()
  4. .collect(Collectors.toList());
  5.  
  6.  
  7. The method collect(Collectors.toList()) is undefined for the type Details
Add Comment
Please, Sign In to add comment