/** * 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 EJBIdentifier other) { return other != null && ( other == this || other.hashCode() == hashCode() && moduleIdentifier.equals(other.moduleIdentifier) && Objects.equals(beanName, other.beanName) ); }
/** * 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 EJBIdentifier other) { return other != null && ( other == this || other.hashCode() == hashCode() && moduleIdentifier.equals(other.moduleIdentifier) && Objects.equals(beanName, other.beanName) ); }
/** * 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 EJBIdentifier other) { return other != null && ( other == this || other.hashCode() == hashCode() && moduleIdentifier.equals(other.moduleIdentifier) && Objects.equals(beanName, other.beanName) ); }