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