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.geoserver.security.impl.ServiceAccessRule.java

/**
 * Represents a service access rule: identifies a service, a method, and the set of roles that are
 * allowed to access it
 */
@SuppressWarnings("serial")
public class ServiceAccessRule implements Comparable<ServiceAccessRule>, Serializable {

From source file com.thoughtworks.acceptance.objects.StandardObject.java

public class StandardObject implements Serializable, Comparable {
    public boolean equals(Object obj) {
        return EqualsBuilder.reflectionEquals(this, obj);
    }

    public int hashCode() {

From source file ca.frozen.rpicameraviewer.classes.Source.java

public class Source implements Comparable, Parcelable {
    // local constants
    private final static String TAG = "Source";

    // instance variables
    public ConnectionType connectionType;

From source file com.hyeb.entity.OrderEntity.java

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

From source file org.brickhouse.datatype.HTime.java

public class HTime extends HValue implements Comparable<HTime> {
    public static final HTime MIDNIGHT = new HTime(0, 0, 0, 0);

    private final int hour;
    private final int minute;
    private final int second;

From source file org.mule.module.google.spreadsheet.model.Row.java

/**
 * 
 * @author mariano.gonzalez@mulesoft.com
 *
 */
public class Row implements Comparable<Row> {

From source file org.geoserver.wps.security.WpsAccessRule.java

/**
 * Represents a data access rule: identifies a workspace, a layer, an access mode, and the set of
 * roles that are allowed to access it
 * <p>Mind, two rules are considered equal if the address the same data, if you need full
 * comparison, use {@link #equalsExact(WpsAccessRule)}</p>
 */

From source file Main.java

class Person implements Comparable {
    private String name;

    public Person(String name) {
        this.name = name;
    }

From source file net.sf.sze.model.zeugnis.AgBewertung.java

/**
 * Bewertung zur Teilnahme an einer AG. Zur Zeit nur tg oder nicht teilgenommen,
 * aber ich mchte mir die Zukunft nicht verbauen.
 *
 */
@Entity

From source file fr.certu.chouette.plugin.report.ReportItem.java

/**
 * @author michel
 * 
 */
public abstract class ReportItem extends Report implements Comparable<ReportItem> {
    @Getter