List of usage examples for java.util Comparator interface-usage
From source file it.crs4.most.ehrlib.PriorityComparison.java
/** * Helper class for sorting widgets by priority. */ public class PriorityComparison implements Comparator<DatatypeWidget<EhrDatatype>> { /** The schema. */
From source file de.hybris.platform.yb2bacceleratorstorefront.variants.impl.DefaultVariantComparator.java
/** * Default comparator for variant values. */ public class DefaultVariantComparator implements Comparator<Object> { @Override public int compare(final Object variant1, final Object variant2) {
From source file de.hybris.platform.ytelcoacceleratorstorefront.variants.impl.DefaultVariantComparator.java
/** * Default comparator for variant values */ public class DefaultVariantComparator implements Comparator<Object> { @Override public int compare(final Object variant1, final Object variant2) {
From source file Person.java
class CompId implements Comparator<Person> { @Override public int compare(Person arg0, Person arg1) { return arg0.id - arg1.id; } }
From source file de.hybris.platform.acceleratorstorefrontcommons.variants.impl.DefaultVariantComparator.java
/** * Default comparator for variant values */ public class DefaultVariantComparator implements Comparator<Object> { @Override public int compare(final Object variant1, final Object variant2) {
From source file edu.northwestern.bioinformatics.studycalendar.tools.BeanPropertyListComparator.java
/** * @author Rhett Sutphin */ public class BeanPropertyListComparator<T> implements Comparator<T> { private static final Comparator<?> DEFAULT_COMPARATOR = new NullComparator(ComparableComparator.getInstance(), false);
From source file cu.uci.uengine.comparators.DataSetFileComparator.java
/** * * @author lan */ @Component public class DataSetFileComparator implements Comparator<File> {
From source file structuredoutputcbr.adaptation.ComparatorBetweenCombinations.java
/** * Class that implements a comparator between combination of exercises given the maximization union-intersection * @author Joan T. Matamalas <jtmatamalas@gmail.com> */ public class ComparatorBetweenCombinations implements Comparator {
From source file Main.java
class ValueComparator implements Comparator<String> { Map<String, Double> base; public ValueComparator(Map<String, Double> base) { this.base = base;
From source file edu.cornell.mannlib.vitro.webapp.beans.DataPropertyComparator.java
public class DataPropertyComparator implements Comparator<Individual> { private static final Log log = LogFactory.getLog(DataPropertyComparator.class); private String dataPropertyUri = null;