Skip to content

firdau.si

Wisdom is the lost property of the Believer

Tag Archives: loop

Java Tips: Optimizing your Map loop

Quite often, a program needs to go through all elements of a Map. Unfortunately, like a Set, a Map doesn’t have index in the data structure so you can’t just get a key of certain index or a value of certain index. The most common practice used to iterate all elements in a Map is […]

Posted bynandaAugust 6, 2009Posted injavaTags: collection, java, loop, map, optimizationLeave a comment on Java Tips: Optimizing your Map loop
firdau.si, Proudly powered by WordPress.
  • eclipse
  • java
  • apple
  • fun