@Override
  public void putAll(Map<? extends Pair<Integer, StructLike>, ? extends V> otherMap) {
    otherMap.forEach(this::put);
  }
@Test
  public void putAll() {
    PartitionMap<String> map = PartitionMap.create(SPECS);

    Map<Pair<Integer, StructLike>, String> otherMap = Maps.newHashMap();
    otherMap.put(Pair.of(BY_DATA_SPEC.specId(), Row.of("aaa")), "v1");
    otherMap.put(Pair.of(BY_DATA_SPEC.specId(), Row.of("bbb")), "v2");
    map.putAll(otherMap);

    assertThat(map)
        .containsEntry(Pair.of(BY_DATA_SPEC.specId(), Row.of("aaa")), "v1")
        .containsEntry(Pair.of(BY_DATA_SPEC.specId(), Row.of("bbb")), "v2");
  }