import java.io.EOFException; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.BufferedReader; import java.io.PrintStream; import java.io.File; import java.util.Vector; public class Multiple { int[] binomial; Vector inputFile; Vector outputFile; public static void main(String[] args) throws IOException{ long millis = System.currentTimeMillis(); Multiple multi = new Multiple(); boolean succeed = multi.setFileNames(args); if( !succeed ){ multi.Usage(); System.exit(0); } try{ int inputFileSize = multi.inputFile.size(); PrintStream p0 = new PrintStream(multi.outputFile.elementAt(0)); BufferedReader d0[] = new BufferedReader[inputFileSize]; String[] strArr = new String[inputFileSize]; for(int i=0;i(); outputFile = new Vector(); } public String uniqueCheck(String[] seqArr) throws NullPointerException { //check the data if ( seqArr==null ) throw new NullPointerException(); // no data if ( seqArr.length==0 ) throw new NullPointerException(); // no data int trial = seqArr.length; // data size if ( (trial==0) || (seqArr[0].charAt(0)=='>') ) { return seqArr[0]; // title } //work StringBuffer result = new StringBuffer(); for(int i=0;i inputDirList = new Vector(); for(int i=0;i