equals

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

Compares this bit set against the specified object. The result is true if and only if the argument is not null and is a BitSet object that has exactly the same set of bits set to true as this bit set. That is, for every nonnegative int index k,

((BitSet)obj).get(k) == this.get(k)

must be true. The current sizes of the two bit sets are not compared.

Return

true if the objects are the same; false otherwise

Parameters

obj

the object to compare with

See also

.size