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-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.