Class TFloatHashSet

    • Constructor Detail

      • TFloatHashSet

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

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

        public TFloatHashSet(int initialCapacity,
                             float load_factor)
        Creates a new TIntHash 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.
        load_factor - used to calculate the threshold over which rehashing takes place.
      • TFloatHashSet

        public TFloatHashSet(int initial_capacity,
                             float load_factor,
                             float no_entry_value)
        Creates a new TFloatHashSet instance with a prime capacity equal to or greater than initial_capacity and with the specified load factor.
        Parameters:
        initial_capacity - an int value
        load_factor - a float value
        no_entry_value - a float value that represents null.
      • TFloatHashSet

        public TFloatHashSet(Collection<? extends Float> collection)
        Creates a new TFloatHashSet instance that is a copy of the existing Collection.
        Parameters:
        collection - a Collection that will be duplicated.
      • TFloatHashSet

        public TFloatHashSet(TFloatCollection collection)
        Creates a new TFloatHashSet instance that is a copy of the existing set.
        Parameters:
        collection - a TFloatSet that will be duplicated.
      • TFloatHashSet

        public TFloatHashSet(float[] array)
        Creates a new TFloatHashSet instance containing the elements of array.
        Parameters:
        array - an array of float primitives