private static final class NumberRuleAppCost.LongRuleAppCost extends NumberRuleAppCost
RuleAppCost interface that uses
a long value for the representation of costs, ordered by the
usual ordering of natural numbers. Objects of this class are immutable| Modifier and Type | Field and Description |
|---|---|
private long |
cost |
| Modifier | Constructor and Description |
|---|---|
protected |
LongRuleAppCost(long p_cost) |
| Modifier and Type | Method and Description |
|---|---|
long |
getValue()
returns the cost
|
public final long getValue()
NumberRuleAppCostgetValue in class NumberRuleAppCost