7 ms·
Interesting note: the JDK deliberately randomizes iteration order of certain immutable sets and maps (https://github.com/openjdk/jdk/blob/jdk-23%2B37/src/java.b
by ljnelson 2y ago
Interesting note: the JDK deliberately randomizes iteration order of certain immutable sets and maps (https://github.com/openjdk/jdk/blob/jdk-23%2B37/src/java.base/share/classes/java/util/ImmutableCollections.java#L53-L59 https://github.com/openjdk/jdk/blob/jdk-23%2B37/src/java.bas...).