1public static class Node<T extends Comparable<T>> { //HERE
2
3 private T value;
4
5 public Node(T val) {
6 this.value = val;
7 }
8
9 public void insert(T val) {
10 if (value.compareTo(val) > 0) {
11 new Node<T>(val);
12 }
13 }
14}