public void DetiT(Tipas obj) { var dd = new Mazgas <Tipas>(obj, null); if (Pr != null) { Pb.Kitas = dd; Pb = dd; } else { Pr = dd; Pb = dd; } }
public Telkiniai() { Pr = null; Pb = null; d = null; }
public Mazgas(Tipas duom, Mazgas <Tipas> kitas) { Duom = duom; Kitas = kitas; }
public void Kitas() { d = d.Kitas; }
public void Pradzia() { d = Pr; }