aspose file tools*
The moose likes Beginning Java and the fly likes LinkedHashMap program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "LinkedHashMap program" Watch "LinkedHashMap program" New topic
Author

LinkedHashMap program

Shiva Mohan
Ranch Hand

Joined: Jan 05, 2006
Posts: 477
I am trying to write a program using LinkedHashMap to get the result 3 2 1.But I don�t know what method to use.Can someone please help me.

This is my program I written.

Garrett Rowe
Ranch Hand

Joined: Jan 17, 2006
Posts: 1296

[ August 04, 2006: Message edited by: Garrett Rowe ]

Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
Mateus Lucio
Ranch Hand

Joined: Jul 27, 2006
Posts: 57
Originally posted by Garrett Rowe:




you could use generics to type check at compile time!

LinkedHashMap<String, Integer> lhm = new LinkedHashMap<String, Integer>()


Studying ...
vidya sagar
Ranch Hand

Joined: Mar 02, 2005
Posts: 580
Try this

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: LinkedHashMap program