Package net.sf.jasperreports.engine.util
Class DisplayValueLabelComparator<T>
- java.lang.Object
-
- net.sf.jasperreports.engine.util.DisplayValueLabelComparator<T>
-
- All Implemented Interfaces:
Comparator<DisplayValue<T>>
public class DisplayValueLabelComparator<T> extends Object implements Comparator<DisplayValue<T>>
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description DisplayValueLabelComparator(Comparator<String> comparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(DisplayValue<T> o1, DisplayValue<T> 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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Constructor Detail
-
DisplayValueLabelComparator
public DisplayValueLabelComparator(Comparator<String> comparator)
-
-
Method Detail
-
compare
public int compare(DisplayValue<T> o1, DisplayValue<T> o2)
- Specified by:
compare
in interfaceComparator<T>
-
-