com.hammurapi.store

## Class NaturalComparator<V>

- java.lang.Object
- - com.hammurapi.store.NaturalComparator<V>

- Type Parameters:
    `V` -
  All Implemented Interfaces:
    Comparator<V>

      public class NaturalComparator<V>
      extends Object
      implements Comparator<V>

  Convenience class which compares objects according natural order.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NaturalComparator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(V o1, V o2)`

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

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

    - ### Methods inherited from interface java.util.Comparator

      `equals`

- - ### Constructor Detail

    - #### NaturalComparator

          public NaturalComparator()

  - ### Method Detail

    - #### compare

          public int compare(V o1,
                    V o2)

      Specified by:
        `compare` in interface `Comparator<V>`