org.modeshape.jcr.index.local

## Class MapDB.NaturalComparator<K extends Comparable<K>>

- java.lang.Object
- - org.modeshape.jcr.index.local.MapDB.NaturalComparator<K>

- All Implemented Interfaces:
    Serializable, Comparator<K>
  Enclosing class:
    MapDB

      public static class MapDB.NaturalComparator<K extends Comparable<K>>
      extends Object
      implements Comparator<K>, Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MapDB.NaturalComparator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(K o1, K 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

    - #### MapDB.NaturalComparator

          public MapDB.NaturalComparator()

  - ### Method Detail

    - #### compare

          public int compare(K o1,
                    K o2)

      Specified by:
        `compare` in interface `Comparator<K extends Comparable<K>>`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.