Beispiel #1
0
 public void Reset()
 {
     current = Head;
 }
Beispiel #2
0
 public MyItem(T data)
 {
     Data = data;
     Next = null;
 }
Beispiel #3
0
 public MyEnumerator(MyLinkedList <T> linkedList)
 {
     Head      = new MyItem <T>();
     Head.Next = linkedList.Head;
     current   = this.Head;
 }
Beispiel #4
0
 public MyItem()
 {
     Data = default(T);
     Next = null;
 }