net.sf.jasperreports.engine.util

## Class DisplayComparableValue<T extends java.lang.Comparable<T>>

- java.lang.Object
- - net.sf.jasperreports.engine.util.DisplayValue<T>
  - - net.sf.jasperreports.engine.util.DisplayComparableValue<T>

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<DisplayComparableValue<T>>

      public class DisplayComparableValue<T extends java.lang.Comparable<T>>
      extends DisplayValue<T>
      implements java.lang.Comparable<DisplayComparableValue<T>>

  Version:
    $Id: DisplayComparableValue.java 6479 2013-09-04 15:47:34Z lucianc $
  Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class net.sf.jasperreports.engine.util.DisplayValue

      `key, label`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DisplayComparableValue(T key, java.lang.String label)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(DisplayComparableValue<T> o)`

    - ### Methods inherited from class net.sf.jasperreports.engine.util.DisplayValue

      `equals, hashCode, key, label, toString`

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

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

- - ### Constructor Detail

    - #### DisplayComparableValue

          public DisplayComparableValue(T key,
                                java.lang.String label)

  - ### Method Detail

    - #### compareTo

          public int compareTo(DisplayComparableValue<T> o)

      Specified by:
        `compareTo` in interface `java.lang.Comparable<DisplayComparableValue<T extends java.lang.Comparable<T>>>`

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com