org.modeshape.jcr.query

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

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

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

      protected static class BufferManager.NaturalComparator<K extends Comparable<K>>
      extends Object
      implements Comparator<K>, Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `BufferManager.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

    - #### BufferManager.NaturalComparator

          protected BufferManager.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.