public boolean retainAll(Collection<?> c) {
        Objects.requireNonNull(c);
        return bulkRemove(e -> !c.contains(e));
    }
public boolean retainAll ( Collection < ? > c ) { Objects . requireNonNull ( c ) ; return bulkRemove ( e -> ! c . contains ( e ) ) ; }
@throws NullPointerException {@inheritDoc}