update: fix

This commit is contained in:
Sobottasgithub
2026-01-14 07:04:38 +01:00
parent 6854157edd
commit 74e46e60c7
5 changed files with 88 additions and 14 deletions

View File

@@ -10,15 +10,15 @@ public class Node<T> {
this.content = content;
}
private T getContent() {
public T getContent() {
return this.content;
}
private void setNextNode(Node nextNode) {
public void setNextNode(Node nextNode) {
this.nextNode = nextNode;
}
private Node getNextNode() {
public Node getNextNode() {
return this.nextNode;
}
}