This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Eghe Urhos
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.
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!