{@code static final ImmutableMapFor small immutable maps, the {@code ImmutableMap.of()} methods areeven more convenient.WORD_TO_INT = new ImmutableMap.Builder () .put("one", 1) .put("two", 2) .put("three", 3) .build();}
Builder instances can be reused - it is safe to call {@link #build}multiple times to build multiple maps in series. Each map is a superset of the maps created before it.
|
|