List of usage examples for java.lang Comparable interface-usage
From source file cc.kave.commons.model.groum.comparator.Path.java
class Path implements Comparable<Path> { private final List<Node> path; public Path(Node... nodes) { this(Arrays.asList(nodes)); }
From source file org.sventon.model.Revision.java
/** * Represents a revision in Subversion. */ public final class Revision implements Serializable, Comparable<Revision> { private static final long serialVersionUID = 2663123883312721991L;
From source file com.twitter.hraven.FlowKey.java
public class FlowKey extends AppKey implements Comparable<Object> { /** * Identifying one single run of a version of an app. Smaller values indicate * a later run. We're using an inverted timestamp Long.MAXVALUE - * timstampMillis (milliseconds since January 1, 1970 UTC)
From source file com.twitter.hraven.TaskKey.java
/**
* Represents the row key for an individual job task. This key shares all the
* same components from the job key, with the additional of the task ID:
* <pre>
* (m|r)_tasknumber(_attemptnumber)?
* </pre>
From source file io.servicecomb.serviceregistry.version.Version.java
public class Version implements Comparable<Version> { private final String[] ZERO = new String[] { "0", "0", "0" }; private final short major; private final short minor;
From source file org.onehippo.forge.documenttranslationpicker.TranslationOption.java
/** * @author Ivor Boers @ Finalist / "Open IT" * @since 15 apr. 2016 */ public class TranslationOption implements Comparable<TranslationOption> {
From source file org.sipfoundry.sipxconfig.permission.Permission.java
/** * Permission Copy of permission setting names exist in user-setting.xml */ public class Permission extends BeanWithId implements Comparable<Permission> { public enum Type { APPLICATION(APPLICATION_NAME, APPLICATION_PATH), // application permissions
From source file org.eclipse.virgo.ide.runtime.core.artefacts.LibraryArtefact.java
/** * A library stored in BRITS. A library is a collection of bundles grouped under a common name, id, and version. * * @author acolyer */ public class LibraryArtefact extends Artefact implements Comparable<LibraryArtefact> {
From source file com.liferay.social.model.MicroblogsEntry.java
/** * @author Josiane Bezerra */ public class MicroblogsEntry implements Comparable<MicroblogsEntry> { public static final String COMPANY_ID = "companyId";
From source file org.drools.planner.core.score.constraint.ConstraintOccurrence.java
public abstract class ConstraintOccurrence implements Comparable<ConstraintOccurrence>, Serializable { protected String ruleId; protected ConstraintType constraintType; protected Object[] causes;