Package com.qfs.util

Interface IIntIntMultiMap<C extends gnu.trove.TIntCollection>

Type Parameters:
C - the type of the collections that store the values
All Superinterfaces:
gnu.trove.map.TIntObjectMap<C>
All Known Implementing Classes:
AMultIntIntCollectionHashMap, IntIntArrayListMultiMap, IntIntLinkedListMultiMap

@Deprecated(since="6.0.4", forRemoval=true) public interface IIntIntMultiMap<C extends gnu.trove.TIntCollection> extends gnu.trove.map.TIntObjectMap<C>
Deprecated, for removal: This API element is subject to removal in a future version.
A collection similar to a TIntIntMap, but which may associate multiple values with a single key.
Author:
ActiveViam
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    putValue(int key, int value)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Stores a key-value pair in the multimap.
    void
    putValues(int key, gnu.trove.TIntCollection values)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Stores a collection of values with the same key.
    boolean
    removeValue(int key, int value)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Removes a key-value pair from the multimap.
    boolean
    removeValues(int key, gnu.trove.TIntCollection values)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Removes key-values pair from the multimap.

    Methods inherited from interface gnu.trove.map.TIntObjectMap

    clear, containsKey, containsValue, equals, forEachEntry, forEachKey, forEachValue, get, getNoEntryKey, hashCode, isEmpty, iterator, keys, keys, keySet, put, putAll, putAll, putIfAbsent, remove, retainEntries, size, transformValues, valueCollection, values, values
  • Method Details

    • putValue

      void putValue(int key, int value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Stores a key-value pair in the multimap.
    • putValues

      void putValues(int key, gnu.trove.TIntCollection values)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Stores a collection of values with the same key.
    • removeValue

      boolean removeValue(int key, int value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Removes a key-value pair from the multimap.
      Returns:
      true if the multimap changed
    • removeValues

      boolean removeValues(int key, gnu.trove.TIntCollection values)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Removes key-values pair from the multimap.
      Returns:
      true if the multimap changed