@Override public boolean equals(Object obj){
  if (obj == this) {
    return true;
  }
  if (!(obj instanceof DefaultIntervalCategoryDataset)) {
    return false;
  }
  DefaultIntervalCategoryDataset that=(DefaultIntervalCategoryDataset)obj;
  if (!Arrays.equals(this.seriesKeys,that.seriesKeys)) {
    return false;
  }
  if (!Arrays.equals(this.categoryKeys,that.categoryKeys)) {
    return false;
  }
  if (!equal(this.startData,that.startData)) {
    return false;
  }
  if (!equal(this.endData,that.endData)) {
    return false;
  }
  return true;
}

@ Override public boolean equals ( Object obj ) { if ( obj == this ) { return true ; } if ( ! ( obj instanceof DefaultIntervalCategoryDataset ) ) { return false ; } DefaultIntervalCategoryDataset that = ( DefaultIntervalCategoryDataset ) obj ; if ( ! Arrays . equals ( this . seriesKeys , that . seriesKeys ) ) { return false ; } if ( ! Arrays . equals ( this . categoryKeys , that . categoryKeys ) ) { return false ; } if ( ! equal ( this . startData , that . startData ) ) { return false ; } if ( ! equal ( this . endData , that . endData ) ) { return false ; } return true ; }
tests this dataset for equality with an arbitrary object .
