/** * 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(final Object other) { return other instanceof EJBHomeLocator && equals((EJBHomeLocator<?>) 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(final EJBLocator<?> other) { return other instanceof EJBHomeLocator && equals((EJBHomeLocator<?>) 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(EJBHomeHandle<?> other) { return this == other || other != null && locator.equals(other.locator); }
/** * 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(final Object other) { return other instanceof EJBHomeLocator && equals((EJBHomeLocator<?>) 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(EJBHomeHandle<?> other) { return this == other || other != null && locator.equals(other.locator); }
/** * 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(final EJBLocator<?> other) { return other instanceof EJBHomeLocator && equals((EJBHomeLocator<?>) 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(final EJBLocator<?> other) { return other instanceof EJBHomeLocator && equals((EJBHomeLocator<?>) 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(final Object other) { return other instanceof EJBHomeLocator && equals((EJBHomeLocator<?>) 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(EJBHomeHandle<?> other) { return this == other || other != null && locator.equals(other.locator); }