Previous Entry Share this with a friend Next Entry
java hint
relativist
Set<Integer> result = Stream.of(countries, regions, areas, settlements, streets).filter(Objects::nonNull).
        map(ItemResult::getQueryItemIndex).filter(Objects::nonNull).collect(toSet());




notShorts = Collections.unmodifiableList(seq(Arrays.stream(StringUtils.split(str, SPACE))).
        filter(s -> !inShorts(s, shorts)).toList());

notShorts = Collections.unmodifiableList(Arrays.stream(StringUtils.split(str, SPACE)).filter(f-> inShorts(f,shorts)).
        filter(s -> !inShorts(s, shorts)).toList());
Метки:

?

Log in