5556575859606162636465
public Object unpickle(DataInputStream in) throws IOException { int n = in.readInt() ; Segment segs[] = new Segment [n] ; for(int i=0;i<n;i++) segs[i] = Segment.unpickle(in) ; return segs ;