Optional<Sort> leastSort = least(productions.stream().map(Production::sort).collect(Collectors.toList())); if (leastSort.isPresent()) { return leastSort.get();
Optional<Sort> leastSort = least(productions.stream().map(Production::sort).collect(Collectors.toList())); if (leastSort.isPresent()) { return leastSort.get();