edu.virginia.cs.mng.hypercast.demo
Class FileSystemModel2.SizeSorter

java.lang.Object
  |
  +--edu.virginia.cs.mng.hypercast.demo.MergeSort
        |
        +--edu.virginia.cs.mng.hypercast.demo.FileSystemModel2.SizeSorter

static class FileSystemModel2.SizeSorter
extends MergeSort

Sorts the contents, which must be instances of FileNode based on totalSize.


Fields inherited from class edu.virginia.cs.mng.hypercast.demo.MergeSort
swapSpace, toSort
 
Constructor Summary
(package private) FileSystemModel2.SizeSorter()
           
 
Method Summary
 int compareElementsAt(int beginLoc, int endLoc)
           
 
Methods inherited from class edu.virginia.cs.mng.hypercast.demo.MergeSort
merge, mergeSort, sort
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

FileSystemModel2.SizeSorter

FileSystemModel2.SizeSorter()
Method Detail

compareElementsAt

public int compareElementsAt(int beginLoc,
                             int endLoc)
Overrides:
compareElementsAt in class MergeSort