org.modeshape.jcr.value

## Class ValueComparators.NameComparator

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

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

      protected static final class ValueComparators.NameComparator
      extends Object
      implements Comparator<Name>, Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

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

  - ### Method Summary

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

    - #### ValueComparators.NameComparator

          protected ValueComparators.NameComparator()

  - ### Method Detail

    - #### compare

          public int compare(Name o1,
                    Name o2)

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

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