Example #1
0
        public LibStack push(Library lib)
        {
            LibStack l = new LibStack(lib);

            l.next = this;
            return(l);
        }
Example #2
0
        public Library pop()
        {
            Library L = library;

            if (next != null)
            {
                library = next.library;
                next    = next.next;
            }
            return(L);
        }
Example #3
0
 public LibStack(Library lib)
 {
     library = lib;
     next    = null;
 }