Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HashMap

Status
Not open for further replies.

bajanmac

Programmer
Nov 12, 2003
3
US
Please forgive my ignorance if this does not make sense....
I have a code that vetts info from a log. It returns the parts (values) of 1.id of order sent..2.ID of order acknowledment received. I simply want to put new order sent id in map, and "compare" the id's from the acks and new orders, to tell me the orders that do not have acks. I am using HashMap, and think I can get the order id's of New message "put" in correctly, but I do not know how to then "remove" those id's that have acks....Any advise?
Thanks in advance


 
HashMap has a remove() mthod that takes an Object as its parameter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top