public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof Stats)) return false; Stats other = (Stats) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.startDate == null && other.getStartDate() == null) || (this.startDate != null && this.startDate.equals(other.getStartDate()))) && ((this.endDate == null && other.getEndDate() == null) || (this.endDate != null && this.endDate.equals(other.getEndDate()))) && ((this.network == null && other.getNetwork() == null) || (this.network != null && this.network.equals(other.getNetwork()))) && ((this.clicks == null && other.getClicks() == null) || (this.clicks != null && this.clicks.equals(other.getClicks()))) && ((this.impressions == null && other.getImpressions() == null) || (this.impressions != null && this.impressions.equals(other.getImpressions()))) && ((this.cost == null && other.getCost() == null) || (this.cost != null && this.cost.equals(other.getCost()))) && ((this.averagePosition == null && other.getAveragePosition() == null) || (this.averagePosition != null && this.averagePosition.equals(other.getAveragePosition()))) && ((this.averageCpc == null && other.getAverageCpc() == null) || (this.averageCpc != null && this.averageCpc.equals(other.getAverageCpc()))) && ((this.averageCpm == null && other.getAverageCpm() == null) || (this.averageCpm != null && this.averageCpm.equals(other.getAverageCpm()))) && ((this.ctr == null && other.getCtr() == null) || (this.ctr != null && this.ctr.equals(other.getCtr()))) && ((this.conversions == null && other.getConversions() == null) || (this.conversions != null && this.conversions.equals(other.getConversions()))) && ((this.viewThroughConversions == null && other.getViewThroughConversions() == null) || (this.viewThroughConversions != null && this.viewThroughConversions.equals(other.getViewThroughConversions()))) && ((this.totalBudget == null && other.getTotalBudget() == null) || (this.totalBudget != null && this.totalBudget.equals(other.getTotalBudget()))) && ((this.statsType == null && other.getStatsType() == null) || (this.statsType != null && this.statsType.equals(other.getStatsType()))); __equalsCalc = null; return _equals; }