|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--applications.Insert
Constructor Summary | |
Insert()
|
Method Summary | |
static void |
insert(java.lang.Comparable[] a,
int n,
java.lang.Comparable x)
insert x into the sorted array a[0:n-1] a remains sorted after the insertion |
static void |
main(java.lang.String[] args)
test program |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Insert()
Method Detail |
public static void insert(java.lang.Comparable[] a, int n, java.lang.Comparable x)
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |