Comparators (Jackson JSON Processor)
Date: 2013-07-14

org.codehaus.jackson.map.util

## Class Comparators

- java.lang.Object
- - org.codehaus.jackson.map.util.Comparators

-     public class Comparators
      extends Object

  Helper class for constructing objects for comparing content values
  Since:
    1.9.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Comparators()`

  - ### Method Summary

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

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Comparators

          public Comparators()

  - ### Method Detail

    - #### getArrayComparator

          public static Object getArrayComparator(Object defaultValue)

      Helper method used for constructing simple value comparator used for comparing arrays for content equality.

      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)

      Since:
        1.9