Пример #1
0
        public void DetiT(tipas duom)
        {
            var dd = new Mazgas <tipas>(duom, null);

            if (pr != null)
            {
                pb.Kitas = dd;
                pb       = dd;
            }
            else
            {
                pr = dd;
                pb = dd;
            }
        }
Пример #2
0
 public void DetiA(tipas duom)
 {
     pr = new Mazgas <tipas>(duom, pr);
 }
Пример #3
0
 public void Pradzia()
 {
     esamas = pr;
 }
Пример #4
0
 public void Kitas()
 {
     esamas = esamas.Kitas;
 }
Пример #5
0
 public Modeliai()
 {
     pr     = null;
     pb     = null;
     esamas = null;
 }
Пример #6
0
 public Mazgas(tipas duom, Mazgas <tipas> adr)
 {
     this.Duomenis = duom;
     this.Kitas    = adr;
 }