Package eu.bandm.tscore.base
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:
-
Field Summary
Fields inherited from class eu.bandm.tools.util.multi.MapMultimap
backward, forward, sizeFields inherited from interface eu.bandm.tools.util.multi.Multimap
DEFAULT_PAIR_FORMAT_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates the preimage set for every range element added.Creates the image set for every domain element added.Methods inherited from class eu.bandm.tools.util.multi.MapMultimap
add, add, addAll, clear, contains, contains, domain, image, imageMap, imageUnchecked, isEmpty, iterator, preimage, preimageMap, preimageUnchecked, range, remove, remove, removeAllDomain, removeAllRange, removeDomain, removeRange, retainAllDomain, retainAllRange, size, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.function.BiPredicate
and, negate, orMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface eu.bandm.tools.util.multi.Multimap
containsAll, containsUnchecked, imageAll, imageAllUnchecked, preimageAll, preimageAllUnchecked, removeAll, removeAllDomainUnchecked, removeAllRangeUnchecked, removeDomainUnchecked, removeRangeUnchecked, removeUnchecked, retainAll, retainAllDomainUnchecked, retainAllRangeUnchecked, test, toArray, toArray, toString, toStringMethods inherited from interface java.util.Set
equals, hashCode, spliterator
-
Constructor Details
-
TemporalMultimap
public TemporalMultimap()
-
-
Method Details
-
createForwardSet
Description copied from class:eu.bandm.tools.util.multi.MapMultimapCreates 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:
createForwardSetin classMapMultimap<A extends Comparable<? super A>,B> - Returns:
- a sets for range domain elements assigned to one particular domain element.
-
createBackwardSet
Description copied from class:eu.bandm.tools.util.multi.MapMultimapCreates 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:
createBackwardSetin classMapMultimap<A extends Comparable<? super A>,B> - Returns:
- a sets for the domain elements assigned to one particular range element.
-