|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.agora.simulator.control.YieldCalculator
public class YieldCalculator
The Class YieldCalculator.
| Method Summary | |
|---|---|
static YieldCalculator |
getInstance()
Gets the single instance of YieldCalculator. |
java.lang.Double |
getPrice(Security fSecurity,
double yield,
java.util.Date settlementDate,
int basis)
Gets the price. |
java.lang.Double |
getYield(Security fSecurity,
double price,
java.util.Date settlementDate,
int basis)
Gets the yield. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.Double getYield(Security fSecurity,
double price,
java.util.Date settlementDate,
int basis)
fSecurity - the f securityprice - the pricesettlementDate - the settlement datebasis - the basis
public java.lang.Double getPrice(Security fSecurity,
double yield,
java.util.Date settlementDate,
int basis)
fSecurity - the f securityyield - the yieldsettlementDate - the settlement datebasis - the basis
public static YieldCalculator getInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||