intersect

trait Collection[A] {
  def intersect(as: Collection[A]): Collection[A]
}

intersect computes the multiset intersection between this and the as collection.