@Override public boolean equals(Object obj){
  if (obj == this) {
    return true;
  }
  if (!(obj instanceof XYBubbleRenderer)) {
    return false;
  }
  XYBubbleRenderer that=(XYBubbleRenderer)obj;
  if (this.scaleType != that.scaleType) {
    return false;
  }
  return super.equals(obj);
}

@ Override public boolean equals ( Object obj ) { if ( obj == this ) { return true ; } if ( ! ( obj instanceof XYBubbleRenderer ) ) { return false ; } XYBubbleRenderer that = ( XYBubbleRenderer ) obj ; if ( this . scaleType != that . scaleType ) { return false ; } return super . equals ( obj ) ; }
tests this renderer for equality with an arbitrary object .
