File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Using Arraylist to store multiple values for single key in a Map Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Using Arraylist to store multiple values for single key in a Map" Watch "Using Arraylist to store multiple values for single key in a Map" New topic
Author

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

Eghe Urhos
Greenhorn

Joined: Sep 03, 2003
Posts: 5
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 ]

egheurhos
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using Arraylist to store multiple values for single key in a Map