< prev index next >

src/java.base/share/classes/java/util/BitSet.java

Print this page

        

*** 1052,1062 **** } /** * Compares this object against the specified object. * The result is {@code true} if and only if the argument is ! * not {@code null} and is a {@code Bitset} object that has * exactly the same set of bits set to {@code true} as this bit * set. That is, for every nonnegative {@code int} index {@code k}, * <pre>((BitSet)obj).get(k) == this.get(k)</pre> * must be true. The current sizes of the two bit sets are not compared. * --- 1052,1062 ---- } /** * Compares this object against the specified object. * The result is {@code true} if and only if the argument is ! * not {@code null} and is a {@code BitSet} object that has * exactly the same set of bits set to {@code true} as this bit * set. That is, for every nonnegative {@code int} index {@code k}, * <pre>((BitSet)obj).get(k) == this.get(k)</pre> * must be true. The current sizes of the two bit sets are not compared. *
< prev index next >