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 com.jivesoftware.os.jive.utils.id.ImmutableByteArray.java

/**
 * Exists largely so we can use byte arrays as keys in maps and sets
 */
public class ImmutableByteArray implements Comparable {

    private static final Charset UTF8 = Charset.forName("UTF-8");

From source file cc.recommenders.utils.Version.java

public class Version implements Comparable<Version> {

    public static final Version ZERO = create(0, 0, 0);
    public static final Version UNKNOWN = create(-1, -1, -1);
    public static final Version LATEST = create(Integer.MAX_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE);

From source file com.opengamma.core.marketdatasnapshot.VolatilityCubeKey.java

/**
 * A key used to identify a volatility cube.
 * <p>
 * This class is immutable and thread-safe.
 */
public class VolatilityCubeKey extends StructuredMarketDataKey implements Comparable<VolatilityCubeKey> {

From source file at.porscheinformatik.sonarqube.licensecheck.license.License.java

public class License implements Comparable<License> {
    private String name;
    private String identifier;
    private String status;

    public License(String name, String identifier, String status) {

From source file org.kuali.maven.plugins.graph.util.Counter.java

/**
 * <p>
 * Thread safe counter.
 * </p>
 */
public class Counter implements Comparable<Counter> {

From source file org.grible.model.Category.java

public class Category implements Comparable<Category> {
    private int id;
    private TableType type;
    private String name;
    private int productId;
    private Integer parentId;

From source file com.mtt.myapp.home.model.PanelEntry.java

/**
 * Panel entry which will be shown in main page.
 *
 * @author Mavlarn
 * @since 1.0
 */

From source file org.geoserver.security.impl.DataAccessRule.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(DataAccessRule)}</p>
 */

From source file com.riversoforion.zambezi.dice.Dice.java

/**
 * @author macdaddy
 */
public class Dice implements Iterable<Die>, Comparable<Dice> {

    private Collection<Die> dice = new ArrayList<Die>();

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

/**
 * An ActionScript source package.
 * 
 * @author Jeremy Grelle
 */
public class ActionScriptPackage implements Comparable<ActionScriptPackage> {