Tim Holloway wrote:Anyway, while there's a lot of stuff I like on Netflix, one recent favorite was produced by Spanish Television: El Ministerio del Tiempo (Ministry of Time)
Piet Souris wrote:Java allows you to write 50_000_000_000, to prevent all possible misery ;
Stephan van Hulst wrote:I really liked that one, because it's the first real example I've seen of a case where a LinkedList greatly outperforms an ArrayList.
Campbell Ritchie wrote:If you iterate the entry set, you may get a different order of iteration.
The map is ordered according to the natural ordering of its keys, or by a Comparator typically provided at sorted map creation time. This order is reflected when iterating over the sorted map's collection views (returned by the entrySet, keySet and values methods).