u7
Class ExternalSort

java.lang.Object
  |
  +--u7.ExternalSort
All Implemented Interfaces:
SortFile

public class ExternalSort
extends java.lang.Object
implements SortFile


Constructor Summary
ExternalSort()
           
ExternalSort(int msize)
           
 
Method Summary
 void sort(java.lang.String fname, java.util.Comparator c)
          Sort the file named 'fname' that contains objects of type Item
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalSort

public ExternalSort()

ExternalSort

public ExternalSort(int msize)
Method Detail

sort

public void sort(java.lang.String fname,
                 java.util.Comparator c)
Description copied from interface: SortFile
Sort the file named 'fname' that contains objects of type Item
Specified by:
sort in interface SortFile