Class CheckedMultimap_R<D,R>

All Implemented Interfaces:
Multimap<D,R>, Multimap_checkedLeft<D,R>, Multimap_checkedRight<D,R>, Serializable, Iterable<Map.Entry<D,R>>, Collection<Map.Entry<D,R>>, BiPredicate<D,R>, Set<Map.Entry<D,R>>

public class CheckedMultimap_R<D,R> extends HashMultimap<D,R> implements Multimap_checkedLeft<D,R>, Multimap_checkedRight<D,R>
Implements a multi map which is strict in its range, i.e. right of the "arrow". The implementation is done extending the bandm.metatools runtime class HashMultimap.
See further documentation at CheckedMultimap_RD
See Also:
  • Constructor Details

    • CheckedMultimap_R

      public CheckedMultimap_R()
    • CheckedMultimap_R

      public CheckedMultimap_R(Multimap<D,R> data)
  • Method Details

    • add

      public boolean add(D key, R value)
      Description copied from interface: Multimap
      Adds a pair to this multimap. This operation must be stable: adding a pair that equals any pair contained in this multimap componentwise must not change this multimap.
      Specified by:
      add in interface Multimap<D,R>
      Overrides:
      add in class MapMultimap<D,R>
      Parameters:
      key - the left component of the pair to add.
      value - the right component of the pair to add.
      Returns:
      true if this multimap has been changed by this operation, false otherwise.