Class HistoricalTreeSet<E>

    • Constructor Detail

      • HistoricalTreeSet

        public HistoricalTreeSet​(HistoryManager historyManager)
        Construct a new, empty HistoricalTreeSet.
        Parameters:
        historyManager - HistoryManager; history manager
      • HistoricalTreeSet

        public HistoricalTreeSet​(HistoryManager historyManager,
                                 Collection<? extends E> c)
        Construct a new HistoricalTreeSet and fill it with the elements of the given collection.
        Parameters:
        historyManager - HistoryManager; history manager
        c - Collection<? extends E>; initial collection
    • Method Detail

      • get

        public TreeSet<E> get()
        Retrieve the current, internal navigable set. TODO document what the caller may do with the result.
        Returns:
        NavigableSet<E>; current navigable set
      • get

        public TreeSet<E> get​(Time time)
        Retrieve a past navigable set.
        Parameters:
        time - Time; time to obtain the navigable set at
        Returns:
        NavigableSet<E>; past navigable set