- java.lang.Object
-
- org.quantlib.BondPrice
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class BondPrice extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBondPrice.Type
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description BondPrice(double amount, BondPrice.Type type)protectedBondPrice(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleamount()voiddelete()protected voidfinalize()protected static longgetCPtr(BondPrice obj)protected static longswigRelease(BondPrice obj)BondPrice.Typetype()
-
-
-
Field Detail
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Detail
-
BondPrice
protected BondPrice(long cPtr, boolean cMemoryOwn)
-
BondPrice
public BondPrice(double amount, BondPrice.Type type)
-
-
Method Detail
-
swigRelease
protected static long swigRelease(BondPrice obj)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
amount
public double amount()
-
type
public BondPrice.Type type()
-
-