| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectiitb.con.util.Int2DBinarySearch
public class Int2DBinarySearch
Integer Binary search for 2D integer array. The search is performed on the specified column and the column need to be sorted before the search.
| Constructor Summary | |
|---|---|
| Int2DBinarySearch() | |
| Method Summary | |
|---|---|
| static int | locate(int[][] a,
             int key,
             int col)Binary search of on 2d integer array | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Int2DBinarySearch()
| Method Detail | 
|---|
public static int locate(int[][] a,
                         int key,
                         int col)
a - array of sorted values to be searched.key - value to be located
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||