Interface HistoricalList<E>

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      java.util.List<E> get()
      Returns the current list.
      java.util.List<E> get​(Time time)
      Returns a past list.
      default void replaceAll​(java.util.function.UnaryOperator<E> operator)
      default void sort​(java.util.Comparator<? super E> c)
      • Methods inherited from interface java.util.Collection

        parallelStream, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, spliterator, subList, toArray, toArray
    • Method Detail

      • get

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

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

        default void replaceAll​(java.util.function.UnaryOperator<E> operator)
        Specified by:
        replaceAll in interface java.util.List<E>
      • sort

        default void sort​(java.util.Comparator<? super E> c)
        Specified by:
        sort in interface java.util.List<E>