Example #1
0
        /*Dequeues the first item from the list.  This involves the following:
         * 1. Get the first node in the list.
         * 2. Delete the node from the list.
         * 3. Return the value of the node.
         */
        public string dequeue()
        {
            string temp = myList.getItem(0);

            myList.deleteItem(0);

            return(temp);
        }
Example #2
0
 public void testDelete()
 {
     testList.deleteItem(2);
 }