for (int i = 0; i < size; i++)
if (size != -1)
   private List readList(ObjectInput in) throws IOException, ClassNotFoundException   {      int size = in.readInt();            List l = new ArrayList(size);            for (int i = 0; i < size; i++)      {         l.add(in.readObject());      }            return l;         }