public class TopRuleAppCost extends Object implements RuleAppCost
RuleAppCost
interface, which
denotes a maximum cost (rule applications with this cost can't be afforded
at all)Modifier and Type | Field and Description |
---|---|
static TopRuleAppCost |
INSTANCE |
Modifier | Constructor and Description |
---|---|
private |
TopRuleAppCost() |
Modifier and Type | Method and Description |
---|---|
RuleAppCost |
add(RuleAppCost cost2)
Add the given costs to the costs that are represented by this object
|
int |
compareTo(RuleAppCost o) |
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
public static final TopRuleAppCost INSTANCE
public int compareTo(RuleAppCost o)
compareTo
in interface RuleAppCost
compareTo
in interface Comparable<RuleAppCost>
public final RuleAppCost add(RuleAppCost cost2)
RuleAppCost
add
in interface RuleAppCost