@Override protected void writeInternal(ObjectDataOutput out) throws IOException { super.writeInternal(out); out.writeInt(overflowPolicy.getId()); out.writeInt(items.length); for (Data item : items) { out.writeData(item); } }