@Override public boolean equals(Object o) { if (o instanceof BitVectorOr) { BitVectorOr other = (BitVectorOr)o; return v.equals(other.v); } else { return false; } } }
@Override public boolean equals(Object o) { if (o instanceof BitVectorOr) { BitVectorOr other = (BitVectorOr)o; return v.equals(other.v); } else { return false; } } }
@Override public boolean equals(Object o) { if (o instanceof BitVectorOr) { BitVectorOr other = (BitVectorOr)o; return v.equals(other.v); } else { return false; } } }
/** * Does this object hold the same bits as other? * * @throws IllegalArgumentException if other is null */ public boolean sameBits(BitSet<?> other) { if (other == null) { throw new IllegalArgumentException("other is null"); } return vector.equals(other.vector); }
/** * Does this object hold the same bits as other? * * @throws IllegalArgumentException if other is null */ public boolean sameBits(BitSet<?> other) { if (other == null) { throw new IllegalArgumentException("other is null"); } return vector.equals(other.vector); }
/** * Does this object hold the same bits as other? * * @throws IllegalArgumentException if other is null */ public boolean sameBits(BitSet<?> other) { if (other == null) { throw new IllegalArgumentException("other is null"); } return vector.equals(other.vector); }