@Override public boolean equals(Object obj){
  if (obj == this) {
    return true;
  }
  if (!(obj instanceof StatisticalLineAndShapeRenderer)) {
    return false;
  }
  StatisticalLineAndShapeRenderer that=(StatisticalLineAndShapeRenderer)obj;
  if (!PaintUtilities.equal(this.errorIndicatorPaint,that.errorIndicatorPaint)) {
    return false;
  }
  if (!ObjectUtilities.equal(this.errorIndicatorStroke,that.errorIndicatorStroke)) {
    return false;
  }
  return super.equals(obj);
}

@ Override public boolean equals ( Object obj ) { if ( obj == this ) { return true ; } if ( ! ( obj instanceof StatisticalLineAndShapeRenderer ) ) { return false ; } StatisticalLineAndShapeRenderer that = ( StatisticalLineAndShapeRenderer ) obj ; if ( ! PaintUtilities . equal ( this . errorIndicatorPaint , that . errorIndicatorPaint ) ) { return false ; } if ( ! ObjectUtilities . equal ( this . errorIndicatorStroke , that . errorIndicatorStroke ) ) { return false ; } return super . equals ( obj ) ; }
tests this renderer for equality with an arbitrary object .
