org.modeshape.jcr.value

## Class ValueComparators.ReferenceComparator

- java.lang.Object
- - org.modeshape.jcr.value.ValueComparators.ReferenceComparator

- All Implemented Interfaces:
    Serializable, Comparator<Reference>
  Enclosing class:
    ValueComparators

      protected static final class ValueComparators.ReferenceComparator
      extends Object
      implements Comparator<Reference>, Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `ValueComparators.ReferenceComparator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(Reference o1, Reference o2)`
    `boolean` | `equals(Object obj)`
    `int` | `hashCode()`

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

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

- - ### Constructor Detail

    - #### ValueComparators.ReferenceComparator

          protected ValueComparators.ReferenceComparator()

  - ### Method Detail

    - #### compare

          public int compare(Reference o1,
                    Reference o2)

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

    - #### equals

          public boolean equals(Object obj)

      Specified by:
        `equals` in interface `Comparator<Reference>`
      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

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