Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OrderedMapUtils.filterAllMaxGroupedConsecutiveTests(temperatures, (t1, t2) -> t2 - t1 > 0f, true).stream()
- .forEachOrdered(
- e -> System.out.println("From " + e.get(0).getKey() + " to " + e.get(e.size() - 1).getNextKey())
- );
Add Comment
Please, Sign In to add comment