package ANTARCTICA.downloadTest; import java.util.*; import java.io.*; import com.objectspace.voyager.*; public class Pick implements IPick, IRemote { private Vector pieces=new Vector(); class Fichero implements Comparable { long length; String name; Fichero(long l, String n) { length=l; name=n; } public int compareTo(Object o) { long l=((Fichero)o).length; if (this.lengthl) return 1; else return 0; } } public Pick() throws IOException { File dir=new File("."); String[] lista=dir.list(); Fichero[] ficheros=new Fichero[lista.length]; for (int i=0;i=0 && piece