com.google.zxing.common
Class Collections

java.lang.Object
  extended by com.google.zxing.common.Collections

public final class Collections
extends Object

This is basically a substitute for java.util.Collections, which is not present in MIDP 2.0 / CLDC 1.1.

Since:
BlackBerry API 6.0.0

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

insertionSort

public 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.

Parameters:
vector - vector to sort
comparator - comparator to define sort ordering
Since:
BlackBerry API 6.0.0





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