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 com.google.android.apps.santatracker.doodles.shared.Actor.java

/**
 * Base class for different characters on the screen.
 */
public class Actor implements Comparable<Actor> {
    public static final float INFINITE_MASS = 0.0f;
    public static final String TYPE = "Actor";

From source file org.paxml.tag.sql.DdlVersion.java

public class DdlVersion implements Comparable<DdlVersion> {

    private final Integer[] version;

    public DdlVersion(String version) {
        String[] vs = StringUtils.split(version, '.');

From source file com.example.db.Message.java

@Table
@Value
public class Message implements Comparable<Message> {

    @PrimaryKey
    private final Long id;

From source file com.algoTrader.vo.ExitValueVO.java

/**
 * TODO: Model Documentation for class ExitValueVO
 */
public class ExitValueVO implements Serializable, Comparable<ExitValueVO> {
    /** The serial version UID of this class. Needed for serialization. */
    private static final long serialVersionUID = 8601863134684632928L;

From source file com.bcpv.webapp.displaytag.decorators.ReportableListObject.java

/**
 * A test class that has data that looks more like information that comes back in a report.
 * @author epesh
 * @author Fabrizio Giustina
 * @version $Revision$ ($Author$)
 */

From source file com.dp2345.entity.ProductImage.java

/**
 * Entity - ?
 * 
 * @author CETVISION CORP
 * @version 2.0.3
 */

From source file com.eviware.soapui.plugins.Version.java

/**
 * Represents a plugin version
 */
public class Version implements Comparable<Version> {
    private final int majorVersion;
    private final int minorVersion;

From source file de.openknowledge.domain.AbstractSimpleValueObject.java

/**
 * A base class for value object that contain one simple value.
 * 
 * @author Arne Limburg - open knowledge GmbH
 */
@MappedSuperclass

From source file org.eclipse.gyrex.admin.ui.internal.pages.registry.PageContribution.java

/**
 * A page contributed by an extension for the admin ui.
 */
public class PageContribution implements Comparable<PageContribution> {

    private final IConfigurationElement element;

From source file io.fabric8.forge.devops.dto.PipelineDTO.java

/**
 */
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class PipelineDTO implements Comparable<PipelineDTO> {
    private String label;
    private String value;