Lecture 13
10
TreeMap summary
•declaration: TreeMap mapName;
•creation:      new TreeMap( );
•put:              mapName.put(Object key, Object obj)
•get:       (Type)mapName.get(Object key)
•                                 cast to proper Type
•length:          mapName.size( )
•looping: get Set of keys from the map, then get an      Iterator from the set                                  mapName.keySet( ).iterator( )
•