/** * Determine if this EJB identifier is equal to the given object. * * @param other the object to test * @return {@code true} if the object is equal to this one, {@code false} otherwise */ public boolean equals(final Object other) { return other instanceof EJBIdentifier && equals((EJBIdentifier) other); }
/** * Determine whether this object is equal to another. * * @param other the other object * @return {@code true} if they are equal, {@code false} otherwise */ public boolean equals(EJBLocator<?> other) { return this == other || other != null && hashCode == other.hashCode && identifier.equals(other.identifier) && affinity.equals(other.affinity); }
/** * Determine if this EJB identifier is equal to the given object. * * @param other the object to test * @return {@code true} if the object is equal to this one, {@code false} otherwise */ public boolean equals(final Object other) { return other instanceof EJBIdentifier && equals((EJBIdentifier) other); }
/** * Determine if this EJB identifier is equal to the given object. * * @param other the object to test * @return {@code true} if the object is equal to this one, {@code false} otherwise */ public boolean equals(final Object other) { return other instanceof EJBIdentifier && equals((EJBIdentifier) other); }
/** * Determine whether this object is equal to another. * * @param other the other object * @return {@code true} if they are equal, {@code false} otherwise */ public boolean equals(EJBLocator<?> other) { return this == other || other != null && hashCode == other.hashCode && identifier.equals(other.identifier) && affinity.equals(other.affinity); }
/** * Determine whether this object is equal to another. * * @param other the other object * @return {@code true} if they are equal, {@code false} otherwise */ public boolean equals(EJBLocator<?> other) { return this == other || other != null && hashCode == other.hashCode && identifier.equals(other.identifier) && affinity.equals(other.affinity); }