@Test public void testOfOneKey() { PartitionContext context = PartitionContextBuilder.of(FOO_KEY, FOO_OBJECT); assertSame(FOO_OBJECT, context.get(FOO_KEY)); assertEquals(ImmutableMap.of(FOO_KEY, FOO_OBJECT), context.asMap()); }
public static PartitionContext of(Object obj) { return new Context(ImmutableMap.of("", obj)); }
PartitionContextBuilder { public static PartitionContext of(Object obj) { return new Context(ImmutableMap.of("", obj)); } }
PartitionContextBuilder { public static PartitionContext of(Object obj) { return new Context(ImmutableMap.of("", obj)); }  }
PartitionContextBuilder { public static PartitionContext of(Object obj) { return new Context(ImmutableMap.of("", obj)); }  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 static PartitionContext of(Object obj) { return new Context(ImmutableMap.of("", obj)); }  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();  }