Class TFloatObjectHashMap<V>

    • Field Detail

      • _values

        protected transient V[] _values
        the values of the map
      • no_entry_key

        protected float no_entry_key
        the value that represents null in the key set.
    • Constructor Detail

      • TFloatObjectHashMap

        public TFloatObjectHashMap()
        Creates a new TFloatObjectHashMap instance with the default capacity and load factor.
      • TFloatObjectHashMap

        public TFloatObjectHashMap(int initialCapacity)
        Creates a new TFloatObjectHashMap instance with a prime capacity equal to or greater than initialCapacity and with the default load factor.
        Parameters:
        initialCapacity - an int value
      • TFloatObjectHashMap

        public TFloatObjectHashMap(int initialCapacity,
                                   float loadFactor)
        Creates a new TFloatObjectHashMap instance with a prime capacity equal to or greater than initialCapacity and with the specified load factor.
        Parameters:
        initialCapacity - an int value
        loadFactor - a float value
      • TFloatObjectHashMap

        public TFloatObjectHashMap(int initialCapacity,
                                   float loadFactor,
                                   float noEntryKey)
        Creates a new TFloatObjectHashMap instance with a prime value at or near the specified capacity and load factor.
        Parameters:
        initialCapacity - used to find a prime capacity for the table.
        loadFactor - used to calculate the threshold over which rehashing takes place.
        noEntryKey - the value used to represent null in the key set.
      • TFloatObjectHashMap

        public TFloatObjectHashMap(TFloatObjectMap<? extends V> map)
        Creates a new TFloatObjectHashMap that contains the entries in the map passed to it.
        Parameters:
        map - the TFloatObjectMap to be copied.