@Test public void testPutAll() { Map<String, Object> map = ImmutableMap.of(FOO_KEY, FOO_OBJECT, BAR_KEY, BAR_OBJECT); PartitionContext context = new PartitionContextBuilder().putAll(map).build(); assertSame(FOO_OBJECT, context.get(FOO_KEY)); assertSame(BAR_OBJECT, context.get(BAR_KEY)); assertEquals(ImmutableMap.of(FOO_KEY, FOO_OBJECT, BAR_KEY, BAR_OBJECT), context.asMap()); }
public PartitionContextBuilder putAll(Map<String, ?> map) { _map.putAll(map); return this; }
PartitionContextBuilder { public PartitionContextBuilder putAll(Map<String, ?> map) { _map.putAll(map); return this; } }
PartitionContextBuilder { public PartitionContextBuilder putAll(Map<String, ?> map) { _map.putAll(map); return this; }  }
PartitionContextBuilder { public PartitionContextBuilder putAll(Map<String, ?> map) { _map.putAll(map); return this; }  static PartitionContext empty(); static PartitionContext of(Object obj); static PartitionContext of(String key, Object value); static PartitionContext of(String key1, Object value1, String key2, Object value2); PartitionContextBuilder put(String key, Object value); PartitionContextBuilder putAll(Map<String, ?> map); PartitionContext build(); }
PartitionContextBuilder { public PartitionContextBuilder putAll(Map<String, ?> map) { _map.putAll(map); return this; }  static PartitionContext empty(); static PartitionContext of(Object obj); static PartitionContext of(String key, Object value); static PartitionContext of(String key1, Object value1, String key2, Object value2); PartitionContextBuilder put(String key, Object value); PartitionContextBuilder putAll(Map<String, ?> map); PartitionContext build();  }