List of usage examples for java.util Comparator interface-usage
From source file com.nextep.datadesigner.vcs.impl.VersionableSorter.java
public class VersionableSorter implements Comparator<IVersionable<?>> { private static final Log log = LogFactory.getLog(VersionableSorter.class); @Override public int compare(IVersionable<?> o1, IVersionable<?> o2) {
From source file org.hyperic.hq.ui.taglib.display.BeanSorter.java
/**
* This utility class is used to sort the list that the table is viewing
* based on arbitrary properties of objects contained in that list. The
* only assumption made is that the object returned by the property is
* either a native type, or implements the Comparable interface.
*
From source file org.projectforge.framework.utils.MyBeanComparator.java
public class MyBeanComparator<T> implements Comparator<T> { private static final org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger(MyBeanComparator.class); private String property, secondProperty; private boolean ascending, secondAscending;
From source file net.yacy.cora.document.encoding.UTF8.java
/**
* convenience class to produce UTF-8 encoding StringBodies and to provide a default
* UTF-8 Charset object.
* Reason: if this is not used in StringBody-Class initialization, a default charset name is parsed.
* This is a synchronized process and all classes using default charsets synchronize at that point
* Synchronization is omitted if this class is used
From source file io.tilt.minka.domain.ShardDuty.java
/**
* Representation of a {@linkplain Duty} selected for an action in a {@linkplain Shard}
*
* @author Cristian Gonzalez
* @since Nov 5, 2015
*/
From source file org.betaconceptframework.astroboa.commons.excelbuilder.DefinitionOrderHelper.java
/**
*
* @author Gregory Chomatas (gchomatas@betaconcept.com)
* @author Savvas Triantafyllou (striantafyllou@betaconcept.com)
*
*/
From source file com.feilong.core.util.comparator.PropertyComparator.java
/**
* ,? <code>T</code>?? {@link #propertyName},,???? {@link Comparator}.
*
* <h3> {@link #propertyName}:</h3>
*
* <blockquote>
From source file biblivre3.administration.reports.DeweyReport.java
/** * @author BibLivre * */ public class DeweyReport extends BaseBiblivreReport implements Comparator<String[]> {
From source file info.magnolia.importexport.BootstrapFilesComparator.java
/** * Comparator implementation used to ensure bootstrap files are imported according to the name length (shortest first). * @author gjoseph * @version $Revision: $ ($Author: $) */ class BootstrapFilesComparator implements Comparator<File> {