Package net.sf.jasperreports.engine.util
Class DisplayComparableValue<T extends Comparable<T>>
- java.lang.Object
-
- net.sf.jasperreports.engine.util.DisplayValue<T>
-
- net.sf.jasperreports.engine.util.DisplayComparableValue<T>
-
- All Implemented Interfaces:
Serializable
,Comparable<DisplayComparableValue<T>>
public class DisplayComparableValue<T extends Comparable<T>> extends DisplayValue<T> implements Comparable<DisplayComparableValue<T>>
- 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 Description DisplayComparableValue(T key, String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(DisplayComparableValue<T> o)
-
-
-
Method Detail
-
compareTo
public int compareTo(DisplayComparableValue<T> o)
- Specified by:
compareTo
in interfaceComparable<T extends Comparable<T>>
-
-