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 immutableModifier and Type | Field and Description |
---|---|
private long |
cost |
Modifier | Constructor and Description |
---|---|
protected |
NumberRuleAppCost.LongRuleAppCost(long p_cost) |
protected NumberRuleAppCost.LongRuleAppCost(long p_cost)
public final long getValue()
NumberRuleAppCost
getValue
in class NumberRuleAppCost