News: 11 March 2016 - Forum Rules

Author Topic: .  (Read 2469 times)

creeperton

  • Hero Member
  • *****
  • Posts: 604
    • View Profile
.
« on: March 13, 2015, 03:23:56 pm »
.
« Last Edit: November 16, 2015, 01:44:16 am by creeperton »

henke37

  • Hero Member
  • *****
  • Posts: 643
    • View Profile
Maps don't have an order. They only offer mapping keys to values.

A hashmap has no order except for the bucket indexes, and that's meaningless for the user.

Kafke

  • Jr. Member
  • **
  • Posts: 44
    • View Profile
http://lmgtfy.com/?q=iterate+over+hashmap+java

First link. I find more often than not a 'good' programmer typically can find their way around google and stack overflow for trivial syntax questions.