Interface HistoricalQueue<E>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Queue<E> get()
      Returns the current queue.
      java.util.Queue<E> get​(Time time)
      Returns a past queue.
      • Methods inherited from interface java.util.Collection

        addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, retainAll, size, spliterator, stream, toArray, toArray, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.Queue

        add, element, offer, peek, poll, remove
    • Method Detail

      • get

        java.util.Queue<E> get()
        Returns the current queue.
        Specified by:
        get in interface HistoricalCollection<E>
        Returns:
        Queue; current queue
      • get

        java.util.Queue<E> get​(Time time)
        Returns a past queue.
        Specified by:
        get in interface HistoricalCollection<E>
        Parameters:
        time - Time; time to obtain the queue at
        Returns:
        Queue; past queue