private DuplicationBlockValueCoder blockCoder = new DuplicationBlockValueCoder();
@Override
public void put(Value value, Object object, CoderContext context) {
DuplicationGroup c = (DuplicationGroup) object;
blockCoder.put(value, c.originBlock(), context);
value.put(c.duplicates().size());
for (DuplicationGroup.Block block : c.duplicates()) {
blockCoder.put(value, block, context);
}
}