@@ -0,0 +1,877 @@
+package quadTree;%0A%0Aimport java.io.Externalizable;%0Aimport java.io.IOException;%0Aimport java.io.ObjectInput;%0Aimport java.io.ObjectOutput;%0A%0Apublic class DataPoint implements Externalizable %7B%0A%09private static final float EPSILON = 0.000001f;%0A%09public float x, y;%0A%09%0A%09public DataPoint()%7B%7D;%0A%09%0A%09public DataPoint(float _x, float _y) %7B%0A%09%09this.x = _x;%0A%09%09this.y = _y;%0A%09%7D%0A%0A%09@Override%0A%09public void readExternal(ObjectInput in) throws IOException,%0A%09%09%09ClassNotFoundException %7B%0A%09%09%09%09x = in.readFloat();%0A%09%09%09%09y = in.readFloat();%0A%09%7D%0A%0A%09@Override%0A%09public void writeExternal(ObjectOutput out) throws IOException %7B%0A%09%09out.writeFloat(x);%0A%09%09out.writeFloat(y);%0A%09%7D%0A%09%0A%09@Override%0A%09public boolean equals(Object obj) %7B%0A%09%09if (obj instanceof DataPoint) %7B%0A%09%09%09DataPoint that = (DataPoint)obj;%0A%09%09%09%0A%09%09%09return%09Math.abs(this.x - that.x) %3C EPSILON && %0A%09%09%09%09%09%09Math.abs(this.y - that.y) %3C EPSILON;%0A%09%09%7D%0A%09%09%0A%09%09return false;%0A%09%7D%0A%7D%0A

Create DataPoint.java