ComparableWrapper (Apache Geode 1.8.0)
Date: 2018-11-29

org.apache.geode.cache.query.data

## Class ComparableWrapper

- java.lang.Object
- - org.apache.geode.cache.query.data.ComparableWrapper

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable

      public class ComparableWrapper
      extends java.lang.Object
      implements java.lang.Comparable, java.io.Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ComparableWrapper()` Creates a new instance of ComparableWrapper
    `ComparableWrapper(int x)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(java.lang.Object obj)`
    `boolean` | `equals(java.lang.Object obj)`
    `int` | `getVal()`
    `int` | `hashCode()`

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

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

- - ### Constructor Detail

    - #### ComparableWrapper

          public ComparableWrapper()

      Creates a new instance of ComparableWrapper

    - #### ComparableWrapper

          public ComparableWrapper(int x)

  - ### Method Detail

    - #### getVal

          public int getVal()

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`

    - #### compareTo

          public int compareTo(java.lang.Object obj)

      Specified by:
        `compareTo` in interface `java.lang.Comparable`

    - #### equals

          public boolean equals(java.lang.Object obj)

      Overrides:
        `equals` in class `java.lang.Object`