public class Comparators extends Object
Constructor and Description |
---|
Comparators() |
Modifier and Type | Method and Description |
---|---|
static Object |
getArrayComparator(Object defaultValue)
Helper method used for constructing simple value comparator used for
comparing arrays for content equality.
|
public static Object getArrayComparator(Object defaultValue)
Note: current implementation is not optimized for speed; if performance ever becomes an issue, it is possible to construct much more efficient typed instances (one for Object[] and sub-types; one per primitive type).
Copyright © 2012-2013 FasterXML. All Rights Reserved.