Class ObjectObjectIdentityHashMap<KType,VType>

java.lang.Object
com.carrotsearch.hppc.ObjectObjectHashMap<KType,VType>
com.carrotsearch.hppc.ObjectObjectIdentityHashMap<KType,VType>
All Implemented Interfaces:
ObjectObjectAssociativeContainer<KType,VType>, ObjectObjectMap<KType,VType>, Preallocable, Cloneable, Iterable<ObjectObjectCursor<KType,VType>>

@Generated(date="2023-10-26T04:33:10+0000", value="KTypeVTypeIdentityHashMap.java") public class ObjectObjectIdentityHashMap<KType,VType> extends ObjectObjectHashMap<KType,VType>
An identity hash map of Object to Object.
  • Constructor Details

    • ObjectObjectIdentityHashMap

      public ObjectObjectIdentityHashMap()
      New instance with sane defaults.
    • ObjectObjectIdentityHashMap

      public ObjectObjectIdentityHashMap(int expectedElements)
      New instance with sane defaults.
      Parameters:
      expectedElements - The expected number of elements guaranteed not to cause buffer expansion (inclusive).
    • ObjectObjectIdentityHashMap

      public ObjectObjectIdentityHashMap(int expectedElements, double loadFactor)
      New instance with sane defaults.
      Parameters:
      expectedElements - The expected number of elements guaranteed not to cause buffer expansion (inclusive).
      loadFactor - The load factor for internal buffers. Insane load factors (zero, full capacity) are rejected by ObjectObjectHashMap.verifyLoadFactor(double).
    • ObjectObjectIdentityHashMap

      public ObjectObjectIdentityHashMap(int expectedElements, double loadFactor, HashOrderMixingStrategy orderMixer)
      New instance with the provided defaults.
      Parameters:
      expectedElements - The expected number of elements guaranteed not to cause a rehash (inclusive).
      loadFactor - The load factor for internal buffers. Insane load factors (zero, full capacity) are rejected by ObjectObjectHashMap.verifyLoadFactor(double).
      orderMixer - Hash key order mixing strategy. See HashOrderMixing for predefined implementations. Use constant mixers only if you understand the potential consequences.
    • ObjectObjectIdentityHashMap

      public ObjectObjectIdentityHashMap(ObjectObjectAssociativeContainer<? extends KType,? extends VType> container)
      Create a hash map from all key-value pairs of another container.
  • Method Details