package appointmentplanner.customlist; public class CustomLinkedListNode { private T item; private CustomLinkedListNode next; public CustomLinkedListNode(CustomLinkedListNode next, T item) { this.next = next; this.item = item; } public CustomLinkedListNode(T item) { this(null, item); } public T getItem() { return item; } public CustomLinkedListNode getNext() { return next; } public void setNext(CustomLinkedListNode next) { this.next = next; } }