示例#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;
 }