java.util.Map.Entry<java.lang.Double,CostDef.CostType>
public static class CostDef.Cost extends Triad<java.lang.Double,CostDef.CostType,java.lang.String>
Pair.DoubleComparator<T,K>, Pair.FirstComparator<T,K>, Pair.SecondComparator<T,K>
Triad.FirstConverter<T,K,L>, Triad.SecondConverter<T,K,L>, Triad.ThirdComparator<T,K,L>, Triad.ThirdConverter<T,K,L>, Triad.TripleComparator<T,K,L>
Constructor | Description |
---|---|
Cost(double amt,
CostDef.CostType type) |
Construct a Cost object
|
Cost(double amt,
CostDef.CostType type,
java.lang.String currency) |
Construct a Cost object
|
public Cost(double amt, CostDef.CostType type, java.lang.String currency)
amt
- the amounttype
- the cost typecurrency
- the currency typepublic Cost(double amt, CostDef.CostType type)
amt
- the amounttype
- the cost type