|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openmobileis.common.util.collection.Sort
Title: OpenMobileIS project source
Description: sort algorythms
Method Summary | |
static java.lang.Object[] |
returnANotInB(java.lang.Object[] A,
java.lang.Object[] B,
Orderable order)
Order A and B array and return all element in A that are not in B. |
static void |
shellsort(Array array,
Orderable op)
Sort a CyberArray of Object references according to the ordering specified by the Orderable object instance method compareTo(). |
static void |
shellsort(java.lang.Object[] data,
Orderable op)
|
static void |
shellsort(java.util.Vector vec,
Orderable op)
Sort a Vector of Object references according to the ordering specified by the Orderable object instance method compareTo(). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void shellsort(java.util.Vector vec, Orderable op)
vec
- the vector of Objectsop
- a reference to an Orderable object instance
java.lang.IllegalArgumentException
- for null argumentsOrderable
public static void shellsort(Array array, Orderable op)
op
- a reference to an Orderable object instance
java.lang.IllegalArgumentException
- for null argumentsOrderable
public static void shellsort(java.lang.Object[] data, Orderable op)
public static java.lang.Object[] returnANotInB(java.lang.Object[] A, java.lang.Object[] B, Orderable order)
A
- : element to keepB
- : element to remove.order
- :use to order and compare.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |