Class AbstractHistoricalQueue<E,​Q extends Queue<E>>

    • Constructor Detail

      • AbstractHistoricalQueue

        protected AbstractHistoricalQueue​(HistoryManager historyManager,
                                          Q queue)
        Constructor.
        Parameters:
        historyManager - HistoryManager; history manager
        queue - Q; initial queue
    • Method Detail

      • offer

        public boolean offer​(E e)
        Specified by:
        offer in interface Queue<E>
      • remove

        public E remove()
        Specified by:
        remove in interface Queue<E>
      • poll

        public E poll()
        Specified by:
        poll in interface Queue<E>
      • peek

        public E peek()
        Specified by:
        peek in interface Queue<E>
      • element

        public E element()
        Specified by:
        element in interface Queue<E>