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 org.optaplanner.examples.common.domain.AbstractPersistable.java

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

    protected Long id;

    protected AbstractPersistable() {
    }

From source file org.zlogic.voidreader.feed.FeedItem.java

/**
 * A single feed item representation. If it's just downloaded, contains HTML and
 * text data generated by StringTemplate. If it's loaded from XML, contains the
 * last known item state: sent text, sent PDF, last seen date etc.
 *
 * @author Dmitry Zolotukhin <a

From source file chat.viska.xmpp.Version.java

/**
 * Version of the XMPP standard.
 */
public class Version implements Comparable<Version> {

    private int major;

From source file org.btrg.df.betterologist.common.domain.AbstractPersistable.java

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

    protected Long id;

    protected AbstractPersistable() {
    }

From source file org.drools.planner.examples.curriculumcourse.domain.UnavailablePeriodConstraint.java

/**
 * @author Geoffrey De Smet
 */
@XStreamAlias("UnavailablePeriodConstraint")
public class UnavailablePeriodConstraint extends AbstractPersistable
        implements Comparable<UnavailablePeriodConstraint> {

From source file org.eclipse.skalli.services.tagging.TagCount.java

/**
 * Helper class to report the number of occurences of a given tag.
 */
public class TagCount implements Comparable<TagCount> {

    private String name;

From source file org.vivoweb.harvester.util.repo.RecordMetaData.java

/**
 * Contains a metadata statement about a record
 * @author Christopher Haines (hainesc@ctrip.ufl.edu)
 */
public class RecordMetaData implements Comparable<RecordMetaData> {
    /**

From source file org.gvnix.flex.as.model.ActionScriptSymbolName.java

/**
 * An ActionScript symbol (i.e., a field).
 * 
 * @author Jeremy Grelle
 */
public final class ActionScriptSymbolName implements Comparable<ActionScriptSymbolName> {

From source file org.jasig.portal.portlets.activity.SearchInfo.java

/**
 * @author Chris Waymire (chris@waymire.net)
 */
public class SearchInfo implements Comparable<SearchInfo> {
    private final String searchTerm;
    private int count;

From source file org.eclipse.jubula.client.core.model.IAUTConfigPO.java

/**
 * @author BREDEX GmbH
 * @created 20.12.2005
 */
public interface IAUTConfigPO extends IPersistentObject, Comparable {
    /** Activation method for window at TS start */