Interface HistoricalCollection<E>

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      java.util.Collection<E> get()
      Returns the current collection.
      java.util.Collection<E> get​(Time time)
      Returns a past collection.
      default boolean removeIf​(java.util.function.Predicate<? super E> filter)
      • Methods inherited from interface java.util.Collection

        add, 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
    • Method Detail

      • get

        java.util.Collection<E> get()
        Returns the current collection. This is not intended to be modified, and may be an unmodifiable.
        Returns:
        Collection; current collection
      • get

        java.util.Collection<E> get​(Time time)
        Returns a past collection.
        Parameters:
        time - Time; time to obtain the collection at
        Returns:
        Collection; past collection
      • removeIf

        default boolean removeIf​(java.util.function.Predicate<? super E> filter)
        Specified by:
        removeIf in interface java.util.Collection<E>