16 lines
312 B
Java
16 lines
312 B
Java
/**
|
|
* 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());
|
|
}
|
|
} |