1Optional<List> o = id1.entrySet()
2 .stream()
3 .filter( e -> e.getKey() == 1)
4 .map(Map.Entry::getValue)
5 .findFirst();
1List<List> list = id1.entrySet()
2 .stream()
3 .filter(.. some predicate...)
4 .map(Map.Entry::getValue)
5 .collect(Collectors.toList());