jQuery in Action, 3rd edition
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "LinkedHashMap program" Watch "LinkedHashMap program" New topic

LinkedHashMap program

Shiva Mohan
Ranch Hand

Joined: Jan 05, 2006
Posts: 481
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: 60
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
It's not a secret anymore!