public class Node { public int wert; public Node next; public Node(int w){ this.wert = w; } public void setWert(int w){ this.wert = w; } public void setNext (Node n){ this.next = n; } }