예제 #1
0
 public LinkedList(int data)
 {
     head = new LLNode(data);
 }
예제 #2
0
 public LinkedList(int f, int b, int c)
 {
     this.back    = new LLNode(b);
     this.current = new LLNode(c, this.back);
     this.front   = new LLNode(f, this.current);
 }
예제 #3
0
 public void SetNext(LLNode n)
 {
     this.next = n;
 }
예제 #4
0
 public LLNode(int data, LLNode next)
 {
     this.next = next;
     this.data = data;
 }
예제 #5
0
 public void SetCurrent(LLNode current)
 {
     this.current = current;
 }
예제 #6
0
 public LLNode(int d)
 {
     data = d;
     next = null;
 }