Initial commit
Added method to return key
Added method to return value of node
Added methods to get next/previous nodes
Added methods to set next/previous nodes
Initial commit
Added fields and constructor
Added method to add new node
Added outlines of other methods that I'll implement
Initial commit
Added test for put()
Corrected various syntax errors
Added method to search for a key in the map.
Returns boolean.
Edited so adding new node checks for existence of key in map
Changed the way search is run for a key.
The search method used to return true/false. I've now made it return the actual node if the key is found. This way, I can use the search method to get the value of the found node.
Added method to return node value, if key exists
Added search for particular key
Edited put() method.
This was using the getKeyWithThisNode method to search for a node, but would always return null if the list was empty, i.e. no "puts" could ever be made. I moved this to be the second test condition, the first now being to see if list is empty, and if so to add the first node as head.
Added test for get() method - ok
Added test to see if list is empty.