Class Queue

    • Constructor Detail

      • Queue

        public Queue()
        Deprecated.
        Constructs an empty Queue
    • Method Detail

      • push

        public void push​(Object o)
        Deprecated.
        Places an Object into the queue
        Parameters:
        o - The object to be pushed into the queue
      • pop

        public Object pop()
        Deprecated.
        Returns an Object from the queue
        Returns:
        The object that had been pushed first into the queue