org.modeshape.jcr.value

## Class ValueComparators.DoubleComparator

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

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

      protected static final class ValueComparators.DoubleComparator
      extends Object
      implements Comparator<Double>, Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

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

  - ### Method Summary

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

          protected ValueComparators.DoubleComparator()

  - ### Method Detail

    - #### compare

          public int compare(Double o1,
                    Double o2)

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

    - #### equals

          public boolean equals(Object obj)

      Specified by:
        `equals` in interface `Comparator<Double>`
      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.