net.sf.jasperreports.engine.util

## Class DisplayValueLabelComparator<T>

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

- All Implemented Interfaces:
    java.util.Comparator<DisplayValue<T>>

      public class DisplayValueLabelComparator<T>
      extends java.lang.Object
      implements java.util.Comparator<DisplayValue<T>>

  Version:
    $Id: DisplayValueLabelComparator.java 6480 2013-09-04 15:48:20Z lucianc $
  Author:
    Lucian Chirita (lucianc@users.sourceforge.net)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DisplayValueLabelComparator(java.util.Comparator<java.lang.String> comparator)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and 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`

- - ### Constructor Detail

    - #### DisplayValueLabelComparator

          public DisplayValueLabelComparator(java.util.Comparator<java.lang.String> comparator)

  - ### Method Detail

    - #### compare

          public int compare(DisplayValue<T> o1,
                    DisplayValue<T> o2)

      Specified by:
        `compare` in interface `java.util.Comparator<DisplayValue<T>>`

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com