org.modeshape.jcr.index.local

## Class MapDB.ComparableUniqueKeyComparator<K>

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

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

      public static final class MapDB.ComparableUniqueKeyComparator<K>
      extends Object
      implements Comparator<MapDB.UniqueKey<K>>, Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MapDB.ComparableUniqueKeyComparator()`

  - ### Method Summary

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

          public MapDB.ComparableUniqueKeyComparator()

  - ### Method Detail

    - #### compare

          public int compare(MapDB.UniqueKey<K> o1,
                    MapDB.UniqueKey<K> o2)

      Specified by:
        `compare` in interface `Comparator<MapDB.UniqueKey<K>>`

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