iitb.con.util
Class Int2DHeapSort

java.lang.Object
  extended by iitb.con.util.Int2DHeapSort

public class Int2DHeapSort
extends java.lang.Object

2D int array heap sort. Sorts based on the first column


Constructor Summary
Int2DHeapSort()
           
 
Method Summary
static void sort(int[][] array)
          Sorts the 2d int array based on the first column as the key
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Int2DHeapSort

public Int2DHeapSort()
Method Detail

sort

public static void sort(int[][] array)
Sorts the 2d int array based on the first column as the key

Parameters:
array - 2d int array