equals

open operator override fun equals(other: Any?): Boolean

Compares the specified object other with this hash set for equality. The two objects are considered equal if other:

  • Is a ScatterSet

  • Has the same size as this set

  • Contains elements equal to this set's elements