|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.zxing.common.Collections
public final class Collections
This is basically a substitute for java.util.Collections
, which is not
present in MIDP 2.0 / CLDC 1.1.
Method Summary | ||
---|---|---|
static void |
insertionSort(Vector vector,
Comparator comparator)
Sorts its argument (destructively) using insert sort; in the context of this package insertion sort is simple and efficient given its relatively small inputs. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void insertionSort(Vector vector, Comparator comparator)
vector
- vector to sortcomparator
- comparator to define sort ordering
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal