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 gr.seab.r2rml.beans.util.LogicalTableMappingComparator.java

public class LogicalTableMappingComparator implements Comparator<LogicalTableMapping> {

    public int compare(LogicalTableMapping logicalTableMapping0, LogicalTableMapping logicalTableMapping1) {

        for (PredicateObjectMap p : logicalTableMapping0.getPredicateObjectMaps()) {
            try {

From source file guru.nidi.ramlproxy.cli.OptionComparator.java

/**
 *
 */
class OptionComparator implements Comparator<Option> {
    private final String options;

From source file nl.nn.adapterframework.http.RestUriComparator.java

/**
 * @author  Gerrit van Brakel
 * @since  
 */
public class RestUriComparator implements Comparator {

From source file com.alibaba.openapi.client.util.NameValuePairComparator.java

/**
 * Comment of NameValuePairComparator
 * 
 * @author jade
 */
public class NameValuePairComparator<T extends NameValuePair> implements Comparator<T> {

From source file main.java.net.bornil.utils.CaseInsensitiveComparator.java

/**
 * @author MaMuN
 * 
 */
@Service
public class CaseInsensitiveComparator implements Comparator<String> {

From source file fi.oamk.ofkl.domain.TeamAssignmentDifficultyComparator.java

public class TeamAssignmentDifficultyComparator implements Comparator<TeamAssignment>, Serializable {

    public int compare(TeamAssignment a, TeamAssignment b) {
        Player aShift = a.getPlayer();
        Player bShift = b.getPlayer();
        return new CompareToBuilder().append(bShift.getPrice(), aShift.getPrice()) // Descending

From source file com.gzj.tulip.jade.statement.InterpreterComparator.java

/**
 * 
 * @author  [qieqie.wang@gmail.com]
 * 
 */
public class InterpreterComparator implements Comparator<Interpreter> {

From source file net.paoding.rose.jade.statement.InterpreterComparator.java

/**
 * 
 * @author  [qieqie.wang@gmail.com]
 * 
 */
public class InterpreterComparator implements Comparator<Interpreter> {

From source file org.eclipse.jubula.client.ui.rcp.utils.PersistenceObjectComparator.java

/**
 * Comparator for IPersistensObject
 * @author BREDEX GmbH
 * @created Nov 17, 2005
 *
 */

From source file org.eclipse.skalli.model.ext.maven.MavenVersionsComparator.java

/**
 *  A "simplified" comparator for Maven versions.
 *
 *  The version string is split at '.' and '-' characters.
 *  Parts that are numbers are compared numerically. All other parts are compared like strings.
 */