Class: DataStructures101::ChainedHashTable

Inherits:
Hash::BaseHashTable show all
Defined in:
lib/data_structures_101/chained_hash_table.rb

Instance Attribute Summary

Attributes inherited from Hash::BaseHashTable

#capacity, #hash_lambda, #size

Instance Method Summary collapse

Methods inherited from Hash::BaseHashTable

#[], #[]=, #delete, #each, #insert

Constructor Details

#initialize(capacity = 31, prime = 109345121, hash_lambda = nil) ⇒ ChainedHashTable

Returns a new instance of ChainedHashTable.



5
6
7
# File 'lib/data_structures_101/chained_hash_table.rb', line 5

def initialize(capacity = 31, prime = 109345121, hash_lambda = nil)
    super
end