View Single Post
  #1 (permalink)  
Old 12-12-2007, 08:02 PM
jhetfield18 jhetfield18 is offline
Member
 
Join Date: Oct 2007
Posts: 9
jhetfield18 is on a distinguished road
HashMap visual example
Hi I'm obligated to use the hashmap class to implement a backgammon game and I have the following given code:
public Map<PointType,List<Color>> getPoints();
It's given in Map but we're supposed to use a HashMap:P
Can anyone explain or describe how a Map or a Hashmap is virtually.
e.g.
a hashtable can be described as non-sequent places in memory that contain certain data allocated with the help of a hash function.I simply can't get it as a picture in my head at least after reading the API.
Reply With Quote
Sponsored Links