Thanks Guava : ImmutableMap.of() was all I was looking for for years.