reorganisation + hashmap

This commit is contained in:
Debucquoy
2023-04-26 11:24:13 +02:00
parent c561eda0cf
commit 454ac6e17e
37 changed files with 162 additions and 0 deletions

26
q2/algo/tp2/Point.java Normal file
View File

@ -0,0 +1,26 @@
public class Point {
private double x, y;
public String toString(){
return "("+ x+ ":" + y + ")";
}
Point(){
x = 0;
y = 0;
}
Point(double x, double y){
this.x = x;
this.y = y;
}
public double getX() {
return x;
}
public double getY() {
return y;
}
}