Code example for ImmutableSetMultimap.Builder

Methods: build, put

0
        .addEqualityGroup( 
            multimap,
            createMultimap(), 
            hashMultimap,
            ImmutableSetMultimap.<String, Integer>builder()
                .put("bar", 2).put("foo", 1).put("foo", 3).build(),
            ImmutableSetMultimap.<String, Integer>builder()
                .put("bar", 2).put("foo", 3).put("foo", 1).build())
        .addEqualityGroup(ImmutableSetMultimap.<String, Integer>builder()
            .put("foo", 2).put("foo", 3).put("foo", 1).build())
        .addEqualityGroup(ImmutableSetMultimap.<String, Integer>builder()
            .put("bar", 2).put("foo", 3).build())
        .testEquals(); 
  } 
 
  public void testOf() { 
    assertMultimapEquals( 
        ImmutableSetMultimap.of("one", 1),
        "one", 1); 
    assertMultimapEquals(