/** * Tests this renderer 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 GroupedStackedBarRenderer)) { return false; } GroupedStackedBarRenderer that = (GroupedStackedBarRenderer) obj; if (!this.seriesToGroupMap.equals(that.seriesToGroupMap)) { return false; } return super.equals(obj); }
/** * Tests this renderer 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 GroupedStackedBarRenderer)) { return false; } GroupedStackedBarRenderer that = (GroupedStackedBarRenderer) obj; if (!this.seriesToGroupMap.equals(that.seriesToGroupMap)) { return false; } return super.equals(obj); }