Example usage for java.lang Comparable interface-usage

List of usage examples for java.lang Comparable interface-usage

Introduction

In this page you can find the example usage for java.lang Comparable interface-usage.

Usage

From source file cc.redberry.core.number.Real.java

/**
 * Real numbers.
 *
 * @author Stanislav Poslavsky
 */
public abstract class Real implements Number<Real>, Comparable<Real> {

From source file com.microsoft.tfs.client.common.ui.teambuild.egit.repositories.GitBranch.java

public class GitBranch implements Comparable<GitBranch> {
    private static final Log log = LogFactory.getLog(GitBranch.class);

    private final VersionControlClient vcClient;
    private final GitRepository repository;
    private final String remoteName;

From source file org.kuali.kra.bo.UnitAdministrator.java

public class UnitAdministrator extends KraPersistableBusinessObjectBase
        implements AbstractUnitAdministrator, Comparable<UnitAdministrator> {

    private String personId;

    private String unitAdministratorTypeCode;

From source file es.bsc.clopla.domain.AbstractPersistable.java

public abstract class AbstractPersistable implements Serializable, Comparable<AbstractPersistable> {

    protected Long id;

    protected AbstractPersistable() {
    }

From source file com.googlecode.flyway.core.migration.SchemaVersion.java

/**
 * A version of a database schema.
 *
 * @author Axel Fontaine
 */
public final class SchemaVersion implements Comparable<SchemaVersion> {

From source file com.pc.dailymile.domain.Route.java

public class Route implements Comparable<Route>, Serializable {

    private Long id;
    private String name;
    private Distance distance;

From source file de.shadowhunt.subversion.Resource.java

/**
 * {@link Resource} defines a resource location in the repository.
 */
public final class Resource implements Comparable<Resource> {

    /**

From source file org.androidtransfuse.analysis.astAnalyzer.IntentFactoryExtraAspect.java

/**
 * Aspect representing an extra parameter required by a Component.  This will trigger the code generator to
 * build an IntentFactoryStrategy containing the appropriate extras in the constructor or setters.
 *
 * @author John Ericksen
 */

From source file net.sf.sze.model.zeugnisconfig.Schulhalbjahr.java

/**
 * Beschreibt ein Schulhalbjahr.
 *
 */
@Entity
@Table(name = "schulhalbjahr", uniqueConstraints = @UniqueConstraint(columnNames = { "jahr",

From source file com.linkedin.pinot.common.utils.primitive.ByteArray.java

/**
 * Wrapper around byte[] that provides additional features such as:
 * <ul>
 *   <li> Implements comparable interface, so comparison and sorting can be performed. </li>
 *   <li> Implements equals() and hashCode(), so it can be used as key for HashMap/Set. </li>
 * </ul>