package lt.bit.bittree; 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; } }