ImmutableMap.of() returns a hash based immutable map without order.
If you need ordered immutable map, ImmutableSortedMap.of() is a choice.
ImmutableSortedMap provides methods such as firstKey(), lastKey(), headMap(K) and tailMap(K);
Both classes provide copyOf(Map) method.