Class TCharHashSet

    • Constructor Detail

      • TCharHashSet

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

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

        public TCharHashSet(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.
      • TCharHashSet

        public TCharHashSet(int initial_capacity,
                            float load_factor,
                            char no_entry_value)
        Creates a new TCharHashSet 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 char value that represents null.
      • TCharHashSet

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

        public TCharHashSet(TCharCollection collection)
        Creates a new TCharHashSet instance that is a copy of the existing set.
        Parameters:
        collection - a TCharSet that will be duplicated.
      • TCharHashSet

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