unity.operators
Class MergeSort
java.lang.Object
unity.operators.Operator
unity.operators.MergeSort
public class MergeSort
- extends Operator
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MergeSort
public MergeSort(Operator in,
int bsize,
int bfr,
SortComparator sc)
init
public void init()
throws java.io.IOException,
java.io.FileNotFoundException
- Specified by:
init
in class Operator
- Throws:
java.io.IOException
java.io.FileNotFoundException
next
public Tuple next()
throws java.io.IOException,
java.io.FileNotFoundException
- Specified by:
next
in class Operator
- Throws:
java.io.IOException
java.io.FileNotFoundException
close
public void close()
throws java.io.IOException
- Overrides:
close
in class Operator
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object