intersection abstract method

Set<E> intersection(
  1. Set<Object?> other
)

Creates a new set with the elements of this that are in other.

Implementation

Set<E> intersection(Set<Object?> other);