/** * Tests this generator for equality with an arbitrary object. * * @param obj the object ({@code null} permitted). * * @return A boolean. */ @Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof StandardCategoryToolTipGenerator)) { return false; } return super.equals(obj); }
/** * Tests this generator for equality with an arbitrary object. * * @param obj the object ({@code null} permitted). * * @return {@code true} if this generator is equal to * {@code obj}, and {@code false} otherwise. */ @Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof StandardCategoryItemLabelGenerator)) { return false; } return super.equals(obj); } }
/** * Tests this generator for equality with an arbitrary object. * * @param obj the object (<code>null</code> permitted). * * @return A boolean. */ public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof StandardCategoryToolTipGenerator)) { return false; } return super.equals(obj); }
/** * Tests this generator for equality with an arbitrary object. * * @param obj the object (<code>null</code> permitted). * * @return <code>true</code> if this generator is equal to * <code>obj</code>, and <code>false</code> otherwise. */ public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof StandardCategoryItemLabelGenerator)) { return false; } return super.equals(obj); } }