@Override
public void readPortable(PortableReader reader)
throws IOException {
int size = reader.readInt("size");
ObjectDataInput in = reader.getRawDataInput();
values = new ArrayList(size);
for (int i = 0; i < size; i++) {
values.add(in.readObject());
}
}