• Post Reply Bookmark Topic Watch Topic
  • New Topic

Using Arraylist to store multiple values for single key in a Map  RSS feed

 
Eghe Urhos
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I trying to store items under names as keys in a map and store the titles in arraylist, and the Arraylist is stored as values to the keys.
While storing the titles I want to skip those with (TV).
After storing the items I would like to comapre the keys with first char in title for a match before display all titles that have name.
I would apprecaite any assistance in this regard.
Thanks.
Below is my code


[ September 30, 2003: Message edited by: Cindy Glass ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!