Commit Graph

17 Commits

Author SHA1 Message Date
Julien Lengrand-Lambert
96d3c8ca00 Starts implementing a neighbour implementation 2013-11-24 16:33:24 +01:00
Julien Lengrand-Lambert
423bf21fed Also now implements get 2013-11-24 16:28:46 +01:00
Julien Lengrand-Lambert
2144671096 Tests add with collisions 2013-11-24 16:20:14 +01:00
Julien Lengrand-Lambert
f66c95d8da Starts implementing add method of version with collisions. 2013-11-23 18:06:43 +01:00
Julien Lengrand-Lambert
1ec8b0672c Modifies HashMap to correspond to the usual scheme 2013-11-21 20:22:49 +01:00
Julien Lengrand-Lambert
8f51ce1123 Actually, I have to provide two inputs to add instead, use one to create the key and store the other in the table. This is the classical implementation of HM 2013-11-21 20:18:55 +01:00
Julien Lengrand-Lambert
b1915d7192 Starts creating a dedicated object to store into hashmaps 2013-11-21 20:17:27 +01:00
Julien Lengrand-Lambert
af8014a79a Implements a first get method. This doesnt take collisions into account yet. Also, we use strings to retrieve strings . . . Not really clever 2013-11-21 19:57:32 +01:00
Julien Lengrand-Lambert
7f8736c9ca Starts implementing get method of the HashMap 2013-11-21 19:54:16 +01:00
Julien Lengrand-Lambert
77ad11ea74 Adds collision testing 2013-11-21 19:47:55 +01:00
Julien Lengrand-Lambert
20fe41493b Starts implementing add method to fill the hash map 2013-11-21 11:58:50 +01:00
Julien Lengrand-Lambert
bcadb29f5f Modifies hash method to stay within the range of the hash table 2013-11-21 11:50:11 +01:00
Julien Lengrand-Lambert
702f8999b3 Adds custom size of hash map table 2013-11-21 11:40:29 +01:00
Julien Lengrand-Lambert
cccda38920 Finishes implementing hash method 2013-11-21 11:08:35 +01:00
Julien Lengrand-Lambert
03ca739a08 Starts implementing the hash method. Throws an exception if the length of value is inconsistent 2013-11-21 10:36:12 +01:00
Julien Lengrand-Lambert
494f57d699 Creates corresponding test class and implements first size() method 2013-11-21 08:30:16 +01:00
jlengrand
ec4b556ba8 Starts implementing a Hash Table 2013-11-21 08:19:49 +01:00