public void addAll(ObjectPartList other) {
    if (hasKeys) {
      if (other.keys != null) {
        if (keys == null) {
          keys = new ArrayList<>(other.keys);
        } else {
          keys.addAll(other.keys);
        }
      }
    } else if (other.hasKeys) {
      hasKeys = true;
      keys = new ArrayList<>(other.keys);
    }
    objects.addAll(other.objects);
  }
Encapsulates list containing objects, serialized objects, raw byte arrays, or exceptions. It can
optionally also hold the list of associated keys. Assumes that keys are either provided for all
entries or for none.

@since GemFire 5.7
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/ObjectPartList.java