class StrictBitVector implements BitVector {

  @Override
  public boolean equals(Object obj) {
    if (this == obj) {
      return true;
    }
    if (obj == null) {
      return false;
    }
    if (getClass() != obj.getClass()) {
      return false;
    }
    StrictBitVector other = (StrictBitVector) obj;
    if (!Arrays.equals(bits, other.bits)) {
      return false;
    }
    // no need to check size parameter since it is derived directly from bits
    return true;
  }

  public  StrictBitVector(byte[] bits);
  public  StrictBitVector(int size);
  public  StrictBitVector(int size, Drbg rand);

}