|
|
|
@ -2,6 +2,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.xml.XMLPrintWriter; |
|
|
|
|
import com.fr.stable.xml.XMLableReader; |
|
|
|
|
|
|
|
|
@ -60,4 +61,22 @@ public class DemoDataConfig extends AbstractDataConfig {
|
|
|
|
|
z |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public DemoDataConfig clone() throws CloneNotSupportedException { |
|
|
|
|
DemoDataConfig result = new DemoDataConfig(); |
|
|
|
|
result.setX(this.getX().clone()); |
|
|
|
|
result.setY(this.getY().clone()); |
|
|
|
|
result.setZ(this.getZ().clone()); |
|
|
|
|
return result; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@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()) |
|
|
|
|
; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|