@Override public boolean equals(final Object o) { return o == this || (o instanceof ByteString && equals(this, (ByteString) o, false)); }
/** * Returns true if the contents of the internal array and the provided array match. */ public boolean equals(final byte[] data) { return equals(data, 0, data.length); }
return false; else if (!someBytes.equals(other.someBytes)) return false; if (Double.doubleToLongBits(someDouble) != Double
return false; else if (!someBytes.equals(other.someBytes)) return false; if (Double.doubleToLongBits(someDouble) != Double.doubleToLongBits(other.someDouble))