package lt.bit.bittree; //Paduodamas tipas T (klasė) turi būti palyginami class Node> { private T data; public Node left; public Node right; public Node() { } public Node(T data) { this.data = data; } public T getData() { return data; } public void setData(T data) { this.data = data; } }