There are utility methods to create ImmutableMap like Immutable.of(Key, value) and its overload. But such methods don\'t exist for
ImmutableMap
Immutable.of(Key, value)
Try Maps.newHashMap(ImmutableMap.of(...))
Maps.newHashMap(ImmutableMap.of(...))
Maps.newHashMap(Map map)