@Override public boolean equals(Object obj){
  if (obj == this) {
    return true;
  }
  if (!(obj instanceof TimeSeriesCollection)) {
    return false;
  }
  TimeSeriesCollection that=(TimeSeriesCollection)obj;
  if (this.xPosition != that.xPosition) {
    return false;
  }
  if (this.domainIsPointsInTime != that.domainIsPointsInTime) {
    return false;
  }
  if (!ObjectUtilities.equal(this.data,that.data)) {
    return false;
  }
  return true;
}

@ Override public boolean equals ( Object obj ) { if ( obj == this ) { return true ; } if ( ! ( obj instanceof TimeSeriesCollection ) ) { return false ; } TimeSeriesCollection that = ( TimeSeriesCollection ) obj ; if ( this . xPosition != that . xPosition ) { return false ; } if ( this . domainIsPointsInTime != that . domainIsPointsInTime ) { return false ; } if ( ! ObjectUtilities . equal ( this . data , that . data ) ) { return false ; } return true ; }
tests this time series collection for equality with another object .
