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 io.pivotal.strepsirrhini.chaoslemur.Member.java

/**
 * Represents a running instance
 */
public final class Member implements Comparable<Member> {

    private final String deployment;

From source file de.shadowhunt.subversion.Revision.java

/**
 * {@link Revision} defines the revision of a repository or a resource in that repository.
 */
public final class Revision implements Comparable<Revision>, Serializable {

    /**

From source file com.liveramp.cascading_ext.counters.Counter.java

public class Counter implements Comparable<Counter> {
    private final String group;
    private final String name;
    private final Long value;

    public Counter(String group, String name, Long value) {

From source file fitnesse.wiki.WikiPagePath.java

public class WikiPagePath implements Comparable<Object> {

    public enum Mode {
        ABSOLUTE, SUB_PAGE, BACKWARD_SEARCH, RELATIVE
    }

From source file com.eventsourcing.hlc.HybridTimestamp.java

/**
 * HybridTimestamp implements <a href="http://www.cse.buffalo.edu/tech-reports/2014-04.pdf">Hybrid Logical Clock</a>,
 * currently heavily inspired by a corresponding <a href="https://github.com/tschottdorf/hlc-rs">Rust library</a>.
 */
@LayoutName("rfc.eventsourcing.com/spec:6/HLC/#Timestamp")
public class HybridTimestamp implements Comparable<HybridTimestamp>, SerializableComparable<BigInteger> {

From source file de.ks.menu.MenuItemDescriptor.java

/**
 *
 */
public class MenuItemDescriptor implements Comparable<MenuItemDescriptor> {
    protected final String menuPath;
    protected final String menuItemPath;

From source file monasca.api.domain.model.metric.MetricName.java

public class MetricName extends AbstractEntity implements Comparable<MetricName> {

    private String id;
    private String name;

    public MetricName(String name) {

From source file is.merkor.core.redis.data.RedisItem.java

/**
 * An implementation of the {@link Item} interface using a Redis
 * representation of the MerkOr data.
 * 
 * @author Anna B. Nikulasdottir
 * @version 0.8

From source file com.kiolis.planner.common.domain.AbstractPersistable.java

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

    protected Long id;

    protected AbstractPersistable() {
    }

From source file org.projectbuendia.client.models.ObsPoint.java

/** An observed value together with the time it was observed (like a point on a graph). */
public final class ObsPoint implements Comparable<ObsPoint> {
    /** The time that the value was observed. */
    public final @Nonnull Instant time;

    /** The observed value. */