public class Comparators
extends java.lang.Object
Constructor and Description |
---|
Comparators() |
Modifier and Type | Method and Description |
---|---|
static <T> java.util.Comparator<T> |
arrayComparator(java.lang.Class<T> arrayType,
boolean unsigned)
Returns a comparator which can sort single or multi-dimensional arrays
of primitves or Comparables.
|
public static <T> java.util.Comparator<T> arrayComparator(java.lang.Class<T> arrayType, boolean unsigned)
unsigned
- applicable only to arrays of bytes, shorts, ints, or longsCopyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.