ca.uwaterloo.cs.ql.fb
Class RadixSorter

java.lang.Object
  extended by ca.uwaterloo.cs.ql.fb.RadixSorter

public class RadixSorter
extends java.lang.Object


Constructor Summary
RadixSorter()
           
 
Method Summary
static void sort(TupleList list, int col, TupleList result)
          Sort tuples according to a column.
static void sort(TupleList list, TupleList result)
          Sort tuples into an natural ascending order.
static void sortDom(TupleList list, TupleList result)
          Sort tuples by its first column (dom).
static void sortRng(TupleList list, TupleList result)
          Sort tuples by its last column (rng).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadixSorter

public RadixSorter()
Method Detail

sort

public static void sort(TupleList list,
                        TupleList result)
Sort tuples into an natural ascending order.
   - -|
   - -|
   - - -|
   - - -|
   - - - -|
   - - - - -|
 


sortDom

public static void sortDom(TupleList list,
                           TupleList result)
Sort tuples by its first column (dom).


sortRng

public static void sortRng(TupleList list,
                           TupleList result)
Sort tuples by its last column (rng).


sort

public static void sort(TupleList list,
                        int col,
                        TupleList result)
Sort tuples according to a column.