Class TByteHashSet

    • Constructor Detail

      • TByteHashSet

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

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

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

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

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

        public TByteHashSet(TByteCollection collection)
        Creates a new TByteHashSet instance that is a copy of the existing set.
        Parameters:
        collection - a TByteSet that will be duplicated.
      • TByteHashSet

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