List of usage examples for java.util Comparator interface-usage
From source file com.google.gwt.emultest.java.util.ComparatorTest.java
/** * List comparator for testing. */ class DummyComparator implements Comparator<Object> { /** * Compares returns reverse hash order.
From source file net.sf.jdmf.data.input.attribute.incidence.AttributeValueIncidenceComparator.java
/** * Compares two incidence values ignoring the attribute values used. * * @author quorthon */ public class AttributeValueIncidenceComparator implements Comparator<AttributeValueIncidence> {
From source file org.kuali.coeus.common.framework.medusa.MedusaNodeComparator.java
public class MedusaNodeComparator implements Comparator<MedusaNode> { public int compare(MedusaNode m1, MedusaNode m2) { return getNodeValue(m1).compareTo(getNodeValue(m2)); }
From source file org.jactr.core.utils.ChainedComparator.java
/** * Description of the Class * * @author harrison */ public class ChainedComparator<T> implements Comparator<T> {
From source file org.mule.devkit.generation.mule.studio.editor.VariableComparator.java
public class VariableComparator implements Comparator<VariableElement> { private static final int VARIABLE1_FIRST = -1; private static final int VARIABLE2_FIRST = 1; private TypeMirrorUtils typeMirrorUtils;
From source file cz.hobrasoft.pdfmu.PreferenceListComparator.java
/**
* Orders the items by a preference list.
*
* <p>
* The items at the start of the preference list are placed before (that is
* deemed smaller than) the other items. The items that appear in the preference
From source file Main.java
class SetComparator implements Comparator<String> { public int compare(String first, String second) { return second.compareTo(first); } }
From source file org.semanticscience.PDBAptamerRetriever.shared.OptionComparator.java
/** * @author Jose Cruz-Toledo * */ public class OptionComparator<T extends Option> implements Comparator<T> { private static final String OPTS_ORDER = "helpemmtfastaDircfpdbDirlr";
From source file edu.wisc.my.portlets.bookmarks.domain.compare.DefaultBookmarksComparator.java
/**
* Implements the default comparison order for the objects involved in a BookmarkSet.
*
* Comparison follows these rules in order:
* Folders are always greater than non Folders.
* Entry fields are compared in the following order: name, note, created, modified.
From source file hydrograph.ui.propertywindow.widgets.utility.GridComparator.java
/**
* The Class GridComparator.
*
* @author Bitwise
*/