Exemple #1
0
 //构造器
 public DbNode()
 {
     data = default(T);
     next = null;
 }
Exemple #2
0
 //构造器
 public DbNode(DbNode <T> p)
 {
     next = p;
 }
Exemple #3
0
 //构造器
 public DbNode(T val)
 {
     data = val;
     next = null;
 }
Exemple #4
0
        private DbNode <T> next;           //后继引用域

        public DbNode(T val, DbNode <T> p) //构造器
        {                                  //构造器
            data = val;
            next = p;
        }