wt.fv
Class FileSort
java.lang.Object
wt.fv.FileSort
- public class FileSort
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSort
public FileSort()
sortFile
public static File sortFile(File in)
throws IOException
- Throws:
IOException
seqMergeSort
private static boolean seqMergeSort(DataInputStream in1,
DataInputStream in2,
DataOutputStream out)
throws IOException
- Throws:
IOException
singleSeqMerge
private static void singleSeqMerge(AccendingSequenceOfLongsReader seq1,
AccendingSequenceOfLongsReader seq2,
DataOutputStream out)
throws IOException
- Throws:
IOException