int num = readInt();
ArrayList<BundleStatus> ret = new ArrayList<BundleStatus>(num);
for (int i = 0; i < num; i++)
{
BundleStatus s = new BundleStatus();
s.setId(readLong());
s.setBundleSymbolicName(readString());
s.setVersion(readString());
s.setLocation(readString());
s.setStatus(readInt());
ret.add(s);
}
return ret.toArray(new BundleStatus[num]);
}