/** * Tri */ public class Tri { public static void main(String[] args) { SearchTree t = new SearchTree<>(new RealComparator()); for (String arg : args) { Float f = Float.parseFloat(arg); t.add(f); } System.out.println(t.toString()); } }