@Override public boolean equals(Object obj){
  if (obj == this) {
    return true;
  }
  if (!(obj instanceof MarkerAxisBand)) {
    return false;
  }
  MarkerAxisBand that=(MarkerAxisBand)obj;
  if (this.topOuterGap != that.topOuterGap) {
    return false;
  }
  if (this.topInnerGap != that.topInnerGap) {
    return false;
  }
  if (this.bottomInnerGap != that.bottomInnerGap) {
    return false;
  }
  if (this.bottomOuterGap != that.bottomOuterGap) {
    return false;
  }
  if (!ObjectUtilities.equal(this.font,that.font)) {
    return false;
  }
  if (!ObjectUtilities.equal(this.markers,that.markers)) {
    return false;
  }
  return true;
}

@ Override public boolean equals ( Object obj ) { if ( obj == this ) { return true ; } if ( ! ( obj instanceof MarkerAxisBand ) ) { return false ; } MarkerAxisBand that = ( MarkerAxisBand ) obj ; if ( this . topOuterGap != that . topOuterGap ) { return false ; } if ( this . topInnerGap != that . topInnerGap ) { return false ; } if ( this . bottomInnerGap != that . bottomInnerGap ) { return false ; } if ( this . bottomOuterGap != that . bottomOuterGap ) { return false ; } if ( ! ObjectUtilities . equal ( this . font , that . font ) ) { return false ; } if ( ! ObjectUtilities . equal ( this . markers , that . markers ) ) { return false ; } return true ; }
tests this axis for equality with another object . note that the axis that the band belongs to is ignored in the test .
