APL/DEV 3.2/TP08/Tri/Tri.java

16 lines
312 B
Java
Raw Normal View History

2023-03-07 16:14:57 +01:00
/**
* Tri
*/
public class Tri {
public static void main(String[] args) {
SearchTree<Float> t = new SearchTree<>(new RealComparator());
for (String arg : args) {
Float f = Float.parseFloat(arg);
t.add(f);
}
System.out.println(t.toString());
}
}