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 de.ailis.xadrian.data.ComplexWare.java

/**
 * A complex ware with the info how much units are produced and how much are
 * needed.
 *
 * @author Klaus Reimer (k@ailis.de)
 */

From source file Main.java

class Counter implements Comparable<Counter> {
    private String name;
    private int freq;

    public Counter(String name, int freq) {
        this.name = name;

From source file Main.java

class Car implements Comparable {
    private String make;

    private int mileage;

    public Car(String make, int mileage) {

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

/**
 * SoL wird mit festen Texten bewertet.
 *
 */
@Entity
@Table(name = "solbewertungs_text", uniqueConstraints = @UniqueConstraint(columnNames = "name", name = "UK_SOLBEWERTUNGS_TEXT_NAME"))

From source file zw.ac.solusiuniversity.model.Children.java

/**
 *
 * @author given
 */
@Document
public class Children implements Serializable, Comparable<Children> {

From source file net.shopxx.entity.OrderEntity.java

/**
 * Entity - ?
 * 
 * @author SHOP++ Team
 * @version 3.0
 */

From source file zw.ac.solusiuniversity.model.Referee.java

/**
 *
 * @author given
 */
@Document
public class Referee implements Serializable, Comparable<Referee> {

From source file org.cimav.rh.client.domain.Departamento.java

/**
 *
 * @author juan.calderon
 */
public class Departamento implements Comparable<Departamento> {

From source file logicProteinHypernetwork.analysis.complexes.Complex.java

/**
 * Class Complex models a list of proteins that are in one complex.
 * 
 * @author Johannes Kster <johannes.koester@tu-dortmund.de>
 */
public class Complex extends ArrayList<Protein> implements Collection<Protein>, Comparable<Complex> {

From source file net.osxx.entity.OrderEntity.java

/**
 * Entity - ?
 * 
 * @author Operate System
 * @version 3.0
 */