-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNode.java
More file actions
37 lines (29 loc) · 681 Bytes
/
Node.java
File metadata and controls
37 lines (29 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package end_sem3;
public class Node {
private Node left;
private Node right;
private String hash;
public Node(Node left, Node right, String string) {
this.left = left;
this.right = right;
this.hash = string;
}
public Node getLeft() {
return left;
}
public void setLeft(Node left) {
this.left = left;
}
public Node getRight() {
return right;
}
public void setRight(Node right) {
this.right = right;
}
public String getHash() {
return hash;
}
public void setHash(String hash) {
this.hash = hash;
}
}