We help IT Professionals succeed at work.
Get Started

Flex Hash Map technique

srujanmiryala
on
509 Views
Last Modified: 2012-05-11
Dear All,

I have got the code for implementing matrix style for displaying the data(you can see it in the output).

In the inputFlight(Array) the order of the data coming from the XML(which is filtered by finalPricePerPerson) is perfect.

but when it comes to finalFlight(HashMap) for some iterations the order is coming perfect and later the order in the  finalFlight(HashMap) is changing. How to resolve this problem. I need the data in the order of price,
In the final output the order is coming uneven. I need it in the order based on price.

Please someone help me out.
Thankyou.
src.zip
Comment
Watch Question
Top Expert 2011
Commented:
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE