- java.lang.Object
-
- org.quantlib.Parameter
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
- Direct Known Subclasses:
ConstantParameter,NullParameter,PiecewiseConstantParameter
public class Parameter extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Constraintconstraint()voiddelete()protected voidfinalize()protected static longgetCPtr(Parameter obj)doublegetValue(double t)Arrayparams()voidsetParam(long i, double x)longsize()protected static longswigRelease(Parameter obj)booleantestParams(Array params)
-
-
-
Field Detail
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Method Detail
-
swigRelease
protected static long swigRelease(Parameter obj)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
setParam
public void setParam(long i, double x)
-
testParams
public boolean testParams(Array params)
-
size
public long size()
-
getValue
public double getValue(double t)
-
constraint
public Constraint constraint()
-
-