*/
public default void selectItems(Collection<T> items) {
Objects.requireNonNull(items);
- items.stream().forEach(Objects::requireNonNull);
+ items.forEach(Objects::requireNonNull);
updateSelection(
new LinkedHashSet<>(
*/
public default void deselectItems(Collection<T> items) {
Objects.requireNonNull(items);
- items.stream().forEach(Objects::requireNonNull);
+ items.forEach(Objects::requireNonNull);
updateSelection(Collections.emptySet(), new LinkedHashSet<>(
items.stream().collect(Collectors.toList())));