Package com.qfs.util

Class AMultIntIntCollectionHashMap<C extends gnu.trove.TIntCollection>

java.lang.Object
gnu.trove.impl.hash.THash
gnu.trove.impl.hash.TPrimitiveHash
gnu.trove.impl.hash.TIntHash
gnu.trove.map.hash.TIntObjectHashMap<C>
com.qfs.util.AMultIntIntCollectionHashMap<C>
All Implemented Interfaces:
IIntIntMultiMap<C>, gnu.trove.map.TIntObjectMap<C>, Externalizable, Serializable
Direct Known Subclasses:
IntIntArrayListMultiMap, IntIntLinkedListMultiMap

@Deprecated(since="6.0.4", forRemoval=true) public abstract class AMultIntIntCollectionHashMap<C extends gnu.trove.TIntCollection> extends gnu.trove.map.hash.TIntObjectHashMap<C> implements IIntIntMultiMap<C>
Deprecated, for removal: This API element is subject to removal in a future version.
See Also:
  • Field Summary

    Fields inherited from class gnu.trove.impl.hash.TIntHash

    _set

    Fields inherited from class gnu.trove.impl.hash.TPrimitiveHash

    _states, FREE, FULL, REMOVED
  • 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 class gnu.trove.map.hash.TIntObjectHashMap

    clear, containsKey, containsValue, equals, forEachEntry, forEachKey, forEachValue, get, getNoEntryKey, hashCode, iterator, keys, keys, keySet, put, putAll, putAll, putIfAbsent, readExternal, remove, retainEntries, toString, transformValues, valueCollection, values, values, writeExternal

    Methods inherited from class gnu.trove.impl.hash.TIntHash

    contains, forEach, getNoEntryValue

    Methods inherited from class gnu.trove.impl.hash.TPrimitiveHash

    capacity

    Methods inherited from class gnu.trove.impl.hash.THash

    compact, ensureCapacity, getAutoCompactionFactor, isEmpty, reenableAutoCompaction, setAutoCompactionFactor, size, tempDisableAutoCompaction, trimToSize

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    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

      public void putValue(int key, int value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: IIntIntMultiMap
      Stores a key-value pair in the multimap.
      Specified by:
      putValue in interface IIntIntMultiMap<C extends gnu.trove.TIntCollection>
    • putValues

      public void putValues(int key, gnu.trove.TIntCollection values)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: IIntIntMultiMap
      Stores a collection of values with the same key.
      Specified by:
      putValues in interface IIntIntMultiMap<C extends gnu.trove.TIntCollection>
    • removeValue

      public boolean removeValue(int key, int value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: IIntIntMultiMap
      Removes a key-value pair from the multimap.
      Specified by:
      removeValue in interface IIntIntMultiMap<C extends gnu.trove.TIntCollection>
      Returns:
      true if the multimap changed
    • removeValues

      public boolean removeValues(int key, gnu.trove.TIntCollection values)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: IIntIntMultiMap
      Removes key-values pair from the multimap.
      Specified by:
      removeValues in interface IIntIntMultiMap<C extends gnu.trove.TIntCollection>
      Returns:
      true if the multimap changed