Fanciful Android
Pages
Home
Tuesday, 1 January 2013
in java is HashMap() sorted on keys by default?
Use LinkedHashMap if you want to store your data in the order in which keys are inserted into the Map.
HashMap doesn't guarantee any order.
No comments :
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments ( Atom )
No comments :
Post a Comment