@Override public boolean equals(Object obj){
  if (obj == this) {
    return true;
  }
  if (!(obj instanceof CompassPlot)) {
    return false;
  }
  if (!super.equals(obj)) {
    return false;
  }
  CompassPlot that=(CompassPlot)obj;
  if (this.labelType != that.labelType) {
    return false;
  }
  if (!ObjectUtilities.equal(this.labelFont,that.labelFont)) {
    return false;
  }
  if (this.drawBorder != that.drawBorder) {
    return false;
  }
  if (!PaintUtilities.equal(this.roseHighlightPaint,that.roseHighlightPaint)) {
    return false;
  }
  if (!PaintUtilities.equal(this.rosePaint,that.rosePaint)) {
    return false;
  }
  if (!PaintUtilities.equal(this.roseCenterPaint,that.roseCenterPaint)) {
    return false;
  }
  if (!ObjectUtilities.equal(this.compassFont,that.compassFont)) {
    return false;
  }
  if (!Arrays.equals(this.seriesNeedle,that.seriesNeedle)) {
    return false;
  }
  if (getRevolutionDistance() != that.getRevolutionDistance()) {
    return false;
  }
  return true;
}

@ Override public boolean equals ( Object obj ) { if ( obj == this ) { return true ; } if ( ! ( obj instanceof CompassPlot ) ) { return false ; } if ( ! super . equals ( obj ) ) { return false ; } CompassPlot that = ( CompassPlot ) obj ; if ( this . labelType != that . labelType ) { return false ; } if ( ! ObjectUtilities . equal ( this . labelFont , that . labelFont ) ) { return false ; } if ( this . drawBorder != that . drawBorder ) { return false ; } if ( ! PaintUtilities . equal ( this . roseHighlightPaint , that . roseHighlightPaint ) ) { return false ; } if ( ! PaintUtilities . equal ( this . rosePaint , that . rosePaint ) ) { return false ; } if ( ! PaintUtilities . equal ( this . roseCenterPaint , that . roseCenterPaint ) ) { return false ; } if ( ! ObjectUtilities . equal ( this . compassFont , that . compassFont ) ) { return false ; } if ( ! Arrays . equals ( this . seriesNeedle , that . seriesNeedle ) ) { return false ; } if ( getRevolutionDistance ( ) != that . getRevolutionDistance ( ) ) { return false ; } return true ; }
tests an object for equality with this plot .
