public abstract class Priority extends Object implements Comparable<Priority>
Modifier and Type | Field and Description |
---|---|
static double |
DOUBLE |
static double |
DOUBLE1 |
static Priority |
HIGH |
static Priority |
LOW |
static Priority |
MEDIUM |
static Priority |
MEDIUM_HIGH |
static Priority |
MEDIUM_LOW |
Constructor and Description |
---|
Priority() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Priority priority) |
boolean |
equals(Object obj) |
static Priority |
getDefault() |
abstract String |
getName() |
static Priority |
getPriority(double priority) |
abstract double |
getValue()
Big the better (that is higher the number higher the priority)
|
int |
hashCode() |
String |
toString() |
public static final Priority LOW
public static final double DOUBLE
public static final Priority MEDIUM_LOW
public static final Priority MEDIUM
public static final double DOUBLE1
public static final Priority MEDIUM_HIGH
public static final Priority HIGH
public abstract double getValue()
public abstract String getName()
public static Priority getDefault()
public static Priority getPriority(double priority)
public int compareTo(Priority priority)
compareTo
in interface Comparable<Priority>
Copyright © 1999–2017 Apache OODT. All rights reserved.