Example usage for java.util Comparator interface-usage

List of usage examples for java.util Comparator interface-usage

Introduction

In this page you can find the example usage for java.util Comparator interface-usage.

Usage

From source file org.jactr.core.chunk.ChunkActivationComparator.java

/**
 * Description of the Class
 * 
 * @author harrison
 * @created April 18, 2003
 */

From source file org.springframework.beans.support.PropertyComparator.java

/**
 * PropertyComparator performs a comparison of two beans,
 * evaluating the specified bean property via a BeanWrapper.
 *
 * @author Juergen Hoeller
 * @author Jean-Pierre Pawlak

From source file io.tilt.minka.domain.Shard.java

/**
 * Compound information about a node, maintained by the Leader
 * 
 * @author Cristian Gonzalez
 * @since Nov 5, 2015
 */

From source file net.sf.jasperreports.crosstabs.fill.calculation.ArbitraryRankComparator.java

/**
 * A comparator that assigns arbitrary ranks to objects and uses the ranks
 * to impose an arbitrary order on them.
 * 
 * @author Lucian Chirita (lucianc@users.sourceforge.net)
 */

From source file org.tinymediamanager.ui.movies.MovieExtendedComparator.java

/**
 * The Class MovieComparator is used to (initial) sort the movies in the moviepanel.
 * 
 * @author Manuel Laggner
 */
public class MovieExtendedComparator implements Comparator<Movie> {

From source file org.xwiki.extension.repository.internal.SortClauseComparator.java

/**
 * A custom {@link Comparator} for {@link Extension} based on {@link SortClause}.
 * 
 * @version $Id: 3086536ea441228d599db7d7798b5ffe2ac1b996 $
 * @since 7.0M2
 */

From source file com.nextep.datadesigner.vcs.impl.ComparisonItemSorter.java

public class ComparisonItemSorter implements Comparator<IComparisonItem> {

    private static final Log log = LogFactory.getLog(ComparisonItemSorter.class);

    @Override
    public int compare(IComparisonItem o1, IComparisonItem o2) {

From source file org.oss.pdfreporter.crosstabs.fill.calculation.ArbitraryRankComparator.java

/**
 * A comparator that assigns arbitrary ranks to objects and uses the ranks
 * to impose an arbitrary order on them.
 * 
 * @author Lucian Chirita (lucianc@users.sourceforge.net)
 * @version $Id: ArbitraryRankComparator.java 4595 2011-09-08 15:55:10Z teodord $

From source file org.kuali.rice.kns.util.BeanPropertyComparator.java

/**
 * This class compares the two beans using multiple property names.
 * 
 * This is the class override for handling null sorting support.  Hopefully this can be removed
 * when Rice fixes the bug.  
 * 

From source file org.kineticsystem.commons.data.model.bean.BeanComparator.java

/**
 * This object is used to compare two items delegating the comparison to a
 * specified bean property. The object returned by the this property must
 * implement the <tt>Comparable</tt> interface.
 * @author Giovanni Remigi
 * @version $Revision: 147 $