|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ftlabs.fisa.calc.YieldQuote
com.ftlabs.fisa.calc.SpreadQuote
public class SpreadQuote
A spread based implementation of Quote.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.ftlabs.fisa.calc.YieldQuote |
|---|
YieldQuote.RedemptionType |
| Constructor Summary | |
|---|---|
SpreadQuote(double spread,
double spreadYield)
Constructs a new SpreadQuote from the provided spread and spreadYield. |
|
SpreadQuote(double spread,
double spreadYield,
Redemption redemption)
Constructs a new SpreadQuote from the provided spread, spreadYield and priced to the provided Redemption. |
|
SpreadQuote(double spread,
double spreadYield,
YieldQuote.RedemptionType redemptionType)
Constructs a new SpreadQuote from the provided spread, spreadYield and priced to the provided RedemptionType. |
|
| Method Summary | |
|---|---|
double |
getSpread()
Get the spread. |
double |
getSpreadYield()
Get the yield to which this quote is spread. |
| Methods inherited from class com.ftlabs.fisa.calc.YieldQuote |
|---|
getConcession, getPrice, getRedemption, getRedemptionType, getYield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpreadQuote(double spread,
double spreadYield)
spread - the spread.spreadYield - the yield to which this quote is spread.
public SpreadQuote(double spread,
double spreadYield,
YieldQuote.RedemptionType redemptionType)
spread - the spread.spreadYield - the yield to which this quote is spread.redemptionType - the RedemptionType to which this quote is priced.
public SpreadQuote(double spread,
double spreadYield,
Redemption redemption)
spread - the spread.spreadYield - the yield to which this quote is spread.redemption - the Redemption to which this quote is priced.| Method Detail |
|---|
public double getSpread()
public double getSpreadYield()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||