org.modeshape.jcr.query

## Class BufferManager.UniqueKeyComparator<K>

- java.lang.Object
- - org.modeshape.jcr.query.BufferManager.UniqueKeyComparator<K>

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

      protected static final class BufferManager.UniqueKeyComparator<K>
      extends Object
      implements Comparator<BufferManager.UniqueKey<K>>, Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `BufferManager.UniqueKeyComparator(Comparator<K> valueComparator)`

  - ### Method Summary

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

    - #### BufferManager.UniqueKeyComparator

          protected BufferManager.UniqueKeyComparator(Comparator<K> valueComparator)

  - ### Method Detail

    - #### compare

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

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

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