|
|
|
@ -3,6 +3,7 @@ package com.fr.plugin.demo;
|
|
|
|
|
import com.fr.extended.chart.AbstractDataConfig; |
|
|
|
|
import com.fr.extended.chart.ExtendedField; |
|
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
|
import com.fr.stable.AssistUtils; |
|
|
|
|
import com.fr.stable.xml.XMLPrintWriter; |
|
|
|
|
import com.fr.stable.xml.XMLableReader; |
|
|
|
|
|
|
|
|
@ -71,12 +72,17 @@ public class DemoDataConfig extends AbstractDataConfig {
|
|
|
|
|
return result; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public int hashCode() { |
|
|
|
|
return super.hashCode() + AssistUtils.hashCode(this.getX(), this.getY(), this.getZ()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public boolean equals(Object obj) { |
|
|
|
|
return obj instanceof DemoDataConfig |
|
|
|
|
&& ComparatorUtils.equals(this.getX(), ((DemoDataConfig) obj).getX()) |
|
|
|
|
&& ComparatorUtils.equals(this.getY(), ((DemoDataConfig) obj).getY()) |
|
|
|
|
&& ComparatorUtils.equals(this.getZ(), ((DemoDataConfig) obj).getZ()) |
|
|
|
|
&& AssistUtils.equals(this.getX(), ((DemoDataConfig) obj).getX()) |
|
|
|
|
&& AssistUtils.equals(this.getY(), ((DemoDataConfig) obj).getY()) |
|
|
|
|
&& AssistUtils.equals(this.getZ(), ((DemoDataConfig) obj).getZ()) |
|
|
|
|
; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|