[ajug-members] Help again

James Picklesimer ilogicdot at yahoo.com
Thu Jul 15 07:35:11 EDT 2004


I think you want to use the .......
LinkedHashSet or LinkedHashMap if you are using jdk
1.4.x since they have a hash (key / value pairs) and
sorted by natural order. The difference is the
LinkedHashSet cannot accept null and the LinkeHashMap
can. The later is perfect vehicle to represent a row
result from a query.

+JP

--- "Barnes, Michael D" <Michael.Barnes at bellsouth.com>
wrote:
> I need to be able to sort a hashmap  when I iterate
> through the data.
> 
> What is the best way to do this?
> 
> 
> Thanks
> Mike Barnes
> 
> The information transmitted is intended only for the
> person or entity to which it is addressed and may
> contain confidential, proprietary, and/or privileged
> material. Any review, retransmission, dissemination
> or other use of, or taking of any action in reliance
> upon this information by persons or entities other
> than the intended recipient is prohibited. If you
> received this in error, please contact the sender
> and delete the material from all computers. 117
> 
> 
> > _______________________________________________
> ajug-members mailing list
> ajug-members at ajug.org
> http://www.ajug.org/mailman/listinfo/ajug-members
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail



More information about the ajug-members mailing list