- java.lang.Object
-
- org.quantlib.QuoteHandle
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
- Direct Known Subclasses:
RelinkableQuoteHandle
public class QuoteHandle extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanswigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description QuoteHandle()protectedQuoteHandle(long cPtr, boolean cMemoryOwn)QuoteHandle(Quote arg0)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Quote__deref__()ObservableasObservable()QuotecurrentLink()voiddelete()booleanempty()protected voidfinalize()protected static longgetCPtr(QuoteHandle obj)booleanisValid()protected static longswigRelease(QuoteHandle obj)doublevalue()
-
-
-
Field Detail
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Detail
-
QuoteHandle
protected QuoteHandle(long cPtr, boolean cMemoryOwn)
-
QuoteHandle
public QuoteHandle(Quote arg0)
-
QuoteHandle
public QuoteHandle()
-
-
Method Detail
-
getCPtr
protected static long getCPtr(QuoteHandle obj)
-
swigRelease
protected static long swigRelease(QuoteHandle obj)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
currentLink
public Quote currentLink()
-
empty
public boolean empty()
-
asObservable
public Observable asObservable()
-
value
public double value()
-
isValid
public boolean isValid()
-
-