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.streaminer.stream.histogram.spdt.Bin.java

public class Bin<T extends Target> implements Comparable<Bin> {

    public Bin(double mean, double count, T target) {
        /* Hack to avoid Java's negative zero */
        if (mean == 0d) {
            _mean = 0d;

From source file com.hp.autonomy.aci.content.identifier.id.Id.java

/**
 * A representation of a document id. A document id is a number that uniquely identifies a document within a particular
 * instance of IDOL's Content server, as found in the &lt;autn:id&gt; tag of a query response. Note that the use of
 * document ids is usually discouraged because they are ambiguous in a distributed system - document references are
 * preferred.
 */

From source file org.sipfoundry.sipxconfig.admin.commserver.imdb.RegistrationItem.java

public class RegistrationItem implements Comparable {
    private String m_uri;
    private String m_contact;
    private long m_expires;
    private String m_primary;
    private String m_instrument;

From source file org.logstash.dependencies.Dependency.java

class Dependency implements Comparable<Dependency> {

    String name;
    String version;
    String url;
    String spdxLicense;

From source file com.almende.dht.TimedValue.java

/**
 * The Class TimedValue.
 */
public class TimedValue implements Comparable<TimedValue> {

    private ObjectNode value;

From source file org.beangle.web.agent.Browser.java

/**
 * Web browser
 * 
 * @author chaostone
 */
public class Browser implements Serializable, Comparable<Browser> {

From source file com.richtodd.android.quiltdesign.block.Swatch.java

public class Swatch implements Comparable<Swatch> {

    //
    // Fields
    //

From source file uk.ac.ebi.ep.data.search.model.Taxonomy.java

/**
 * Taxonomy is a data transfer object for model organisms
 *
 * @author joseph
 */
public class Taxonomy implements Comparable<Taxonomy> {

From source file org.sipfoundry.sipxconfig.site.cdr.decorators.CdrCallDirectionDecorator.java

public class CdrCallDirectionDecorator extends CdrDecorator implements Comparable<CdrCallDirectionDecorator> {
    public CdrCallDirectionDecorator(Cdr cdr, Locale locale, Messages messages) {
        super(cdr, locale, messages);
    }

    public int compareTo(CdrCallDirectionDecorator obj) {

From source file org.sipfoundry.sipxconfig.site.cdr.decorators.CdrCallerDecorator.java

public class CdrCallerDecorator extends CdrDecorator implements Comparable<CdrCallerDecorator> {
    public CdrCallerDecorator(Cdr cdr, Locale locale, Messages messages) {
        super(cdr, locale, messages);
    }

    public int compareTo(CdrCallerDecorator obj) {