All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fasteasytrade.jrandtest.tests.Point Maven / Gradle / Ivy

The newest version!
package com.fasteasytrade.jrandtest.tests;

/**
 * @author Zur Aougav 

point class is used by MinimumDistance * */ public class Point implements Comparable { public double x; public double y; public Point() { super(); } public Point(double x, double y) { this.x = x; this.y = y; } @Override public int compareTo(Point p) { return new Double(y).compareTo(p.y); } @Override public String toString() { return x + "," + y; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy