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 RuleAppCost
compareTo
in interface java.lang.Comparable<RuleAppCost>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public final RuleAppCost add(RuleAppCost cost2)
RuleAppCost
add
in interface RuleAppCost
public java.lang.String toString()
toString
in class java.lang.Object