Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package cz.cvut.fel.pjv;
- public class NodeImpl {
- private int value;
- private Node left;
- private Node right;
- public NodeImpl(int value, Node left, Node right) {
- this.value = value;
- this.left = left;
- this.right = right;
- }
- public Node getLeft(){
- return left;
- }
- public Node getRight(){
- return right;
- }
- public int getValue(){
- return value;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement