Class Util.TemporalMultimap<A extends Comparable<? super A>,B>

java.lang.Object
eu.bandm.tools.util.multi.MapMultimap<A,B>
eu.bandm.tscore.base.Util.TemporalMultimap<A,B>
All Implemented Interfaces:
Nullfree, Multimap<A,B>, Serializable, Iterable<Map.Entry<A,B>>, Collection<Map.Entry<A,B>>, BiPredicate<A,B>, Set<Map.Entry<A,B>>
Enclosing class:
Util

public static class Util.TemporalMultimap<A extends Comparable<? super A>,B> extends MapMultimap<A,B>
See Also:
  • Constructor Details

    • TemporalMultimap

      public TemporalMultimap()
  • Method Details

    • createForwardSet

      protected Set<B> createForwardSet()
      Description copied from class: eu.bandm.tools.util.multi.MapMultimap
      Creates the image set for every domain element added.

      Subclasses implementing this method must ensure that when the map A->Set<B> is sorted, then this set also is.

      Specified by:
      createForwardSet in class MapMultimap<A extends Comparable<? super A>,B>
      Returns:
      a sets for range domain elements assigned to one particular domain element.
    • createBackwardSet

      protected Set<A> createBackwardSet()
      Description copied from class: eu.bandm.tools.util.multi.MapMultimap
      Creates the preimage set for every range element added.

      Subclasses implementing this method must ensure that when the map B->Set<A> is sorted, then this set also is.

      Specified by:
      createBackwardSet in class MapMultimap<A extends Comparable<? super A>,B>
      Returns:
      a sets for the domain elements assigned to one particular range element.