org.jquantlib
Class Settings
- java.lang.Object
-
- org.jquantlib.Settings
-
public class Settings extends java.lang.ObjectSettings for the application.This class aggregates mutable values which have life cycle of a certain operation or sequence of operations defined by the enclosing thread.
- See Also:
ThreadLocal
-
-
Constructor Summary
Constructors Constructor and Description Settings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description DateevaluationDate()booleanisEnforcesTodaysHistoricFixings()booleanisExtraSafetyChecks()booleanisNegativeRates()booleanisRefineHighPrecisionUsingHalleysMethod()booleanisTodaysPayments()booleanisUseIndexedCoupon()voidsetEnforcesTodaysHistoricFixings(boolean enforceTodaysHistoricFixings)DatesetEvaluationDate(Date evaluationDate)Changes the value of field evaluationDate.voidsetExtraSafetyChecks(boolean extraSafetyChecks)voidsetNegativeRates(boolean negativeRates)voidsetRefineHighPrecisionUsingHalleysMethod(boolean refineToFullMachinePrecisionUsingHalleysMethod)voidsetTodaysPayments(boolean todaysPayments)voidsetUseIndexedCoupon(boolean todaysPayments)
-
-
-
Method Detail
-
isNegativeRates
public boolean isNegativeRates()
-
isExtraSafetyChecks
public boolean isExtraSafetyChecks()
-
isTodaysPayments
public boolean isTodaysPayments()
-
isUseIndexedCoupon
public boolean isUseIndexedCoupon()
-
isEnforcesTodaysHistoricFixings
public boolean isEnforcesTodaysHistoricFixings()
-
isRefineHighPrecisionUsingHalleysMethod
public boolean isRefineHighPrecisionUsingHalleysMethod()
-
setNegativeRates
public void setNegativeRates(boolean negativeRates)
-
setExtraSafetyChecks
public void setExtraSafetyChecks(boolean extraSafetyChecks)
-
setTodaysPayments
public void setTodaysPayments(boolean todaysPayments)
-
setUseIndexedCoupon
public void setUseIndexedCoupon(boolean todaysPayments)
-
setEnforcesTodaysHistoricFixings
public void setEnforcesTodaysHistoricFixings(boolean enforceTodaysHistoricFixings)
-
setRefineHighPrecisionUsingHalleysMethod
public void setRefineHighPrecisionUsingHalleysMethod(boolean refineToFullMachinePrecisionUsingHalleysMethod)
-
evaluationDate
public Date evaluationDate()
- Returns:
- the value of field evaluationDate
-
-
DataMelt 3.0 © DataMelt by jWork.ORG