public void Travel() { if (current.next == null) { return; } current = current.next; }
public void TravelBack() { if (current.previous == null) { return; } current = current.previous; }
public IntLinkedListNode(int data, IntLinkedListNode next, IntLinkedListNode previous) { this.data = data; this.next = next; this.previous = previous; }
public IntLinkedList(IntLinkedListNode first) { this.first = first; current = this.first; }
public void ResetCurrentToFirst() { current = first; }