/** * Determine whether this object is equal to another. Transaction IDs are equal if their encoded form is * equal and the class is equal. * * @param other the other object * @return {@code true} if they are equal, {@code false} otherwise */ @Override public final boolean equals(Object other) { return other.getClass() == getClass() && equals((TransactionID) other); }
/** * Determine whether this object is equal to another. Transaction IDs are equal if their encoded form is * equal and the class is equal. * * @param other the other object * @return {@code true} if they are equal, {@code false} otherwise */ @Override public final boolean equals(Object other) { return other.getClass() == getClass() && equals((TransactionID) other); }
/** * Determine whether this object is equal to another. Transaction IDs are equal if their encoded form is * equal and the class is equal. * * @param other the other object * @return {@code true} if they are equal, {@code false} otherwise */ @Override public final boolean equals(Object other) { return other.getClass() == getClass() && equals((TransactionID) other); }