- java.lang.Object
-
- org.quantlib.ExchangeRateManager
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class ExchangeRateManager extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description protectedExchangeRateManager(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(ExchangeRate arg0)voidadd(ExchangeRate arg0, Date startDate)voidadd(ExchangeRate arg0, Date startDate, Date endDate)voidclear()voiddelete()protected voidfinalize()protected static longgetCPtr(ExchangeRateManager obj)static ExchangeRateManagerinstance()ExchangeRatelookup(Currency source, Currency target, Date date)ExchangeRatelookup(Currency source, Currency target, Date date, ExchangeRate.Type type)protected static longswigRelease(ExchangeRateManager obj)
-
-
-
Field Detail
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Detail
-
ExchangeRateManager
protected ExchangeRateManager(long cPtr, boolean cMemoryOwn)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(ExchangeRateManager obj)
-
swigRelease
protected static long swigRelease(ExchangeRateManager obj)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
instance
public static ExchangeRateManager instance()
-
add
public void add(ExchangeRate arg0, Date startDate, Date endDate)
-
add
public void add(ExchangeRate arg0, Date startDate)
-
add
public void add(ExchangeRate arg0)
-
lookup
public ExchangeRate lookup(Currency source, Currency target, Date date, ExchangeRate.Type type)
-
lookup
public ExchangeRate lookup(Currency source, Currency target, Date date)
-
clear
public void clear()
-
-