public class TopRuleAppCost extends java.lang.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(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
public static final TopRuleAppCost INSTANCE
public int compareTo(RuleAppCost o)
compareTo in interface RuleAppCostcompareTo in interface java.lang.Comparable<RuleAppCost>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic final RuleAppCost add(RuleAppCost cost2)
RuleAppCostadd in interface RuleAppCostpublic java.lang.String toString()
toString in class java.lang.Object