|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ftlabs.fisa.calc.DiscountQuote
public class DiscountQuote
A discount based implementation of Quote.
| Constructor Summary | |
|---|---|
DiscountQuote(double discount)
Constructs a new DiscountQuote using the provided discount. |
|
| Method Summary | |
|---|---|
double |
getDiscount()
Get the discount. |
double |
getPrice(Calculator maturityCalculator,
Calculator[] otherRedemptionCalculators)
Returns a price. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiscountQuote(double discount)
discount - the discount.| Method Detail |
|---|
public double getDiscount()
public double getPrice(Calculator maturityCalculator,
Calculator[] otherRedemptionCalculators)
throws CalculationException
Quote
getPrice in interface QuotematurityCalculator - A calculator bound to maturity.otherRedemptionCalculators - An array of calculators bound to
each of the calls.
CalculationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||