Class TCustomObjectHash<T>

    • Constructor Detail

      • TCustomObjectHash

        public TCustomObjectHash()
        FOR EXTERNALIZATION ONLY!!!
      • TCustomObjectHash

        public TCustomObjectHash(HashingStrategy<? super T> strategy)
        Creates a new TManualObjectHash instance with the default capacity and load factor.
      • TCustomObjectHash

        public TCustomObjectHash(HashingStrategy<? super T> strategy,
                                 int initialCapacity)
        Creates a new TManualObjectHash instance whose capacity is the next highest prime above initialCapacity + 1 unless that value is already prime.
        Parameters:
        initialCapacity - an int value
      • TCustomObjectHash

        public TCustomObjectHash(HashingStrategy<? super T> strategy,
                                 int initialCapacity,
                                 float loadFactor)
        Creates a new TManualObjectHash 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.