- java.lang.Object
-
- org.quantlib.DoublePair
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class DoublePair extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description DoublePair()DoublePair(double first, double second)protectedDoublePair(long cPtr, boolean cMemoryOwn)DoublePair(DoublePair other)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()protected static longgetCPtr(DoublePair obj)doublegetFirst()doublegetSecond()voidsetFirst(double value)voidsetSecond(double value)protected static longswigRelease(DoublePair obj)
-
-
-
Field Detail
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Detail
-
DoublePair
protected DoublePair(long cPtr, boolean cMemoryOwn)
-
DoublePair
public DoublePair()
-
DoublePair
public DoublePair(double first, double second)
-
DoublePair
public DoublePair(DoublePair other)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(DoublePair obj)
-
swigRelease
protected static long swigRelease(DoublePair obj)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
setFirst
public void setFirst(double value)
-
getFirst
public double getFirst()
-
setSecond
public void setSecond(double value)
-
getSecond
public double getSecond()
-
-