org.jquantlib.quotes
Class RelinkableHandle<T extends Observable>
java.lang.Object
org.jquantlib.quotes.Handle<T>
org.jquantlib.quotes.RelinkableHandle<T>
- All Implemented Interfaces:
- Observable
public class RelinkableHandle<T extends Observable>
- extends Handle<T>
Relinkable handle to an observable
An instance of this class can be relinked so that it points to another
observable. The change will be propagated to all handles that were created as
copies of such instance.
- Author:
- Richard Gomes
| Fields inherited from class org.jquantlib.quotes.Handle |
link |
|
Method Summary |
void |
setLink(T observable)
|
void |
setLink(T observable,
boolean isObserver)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RelinkableHandle
public RelinkableHandle()
RelinkableHandle
public RelinkableHandle(T observable)
RelinkableHandle
public RelinkableHandle(T observable,
boolean isObserver)
setLink
public final void setLink(T observable)
- Overrides:
setLink in class Handle<T extends Observable>
setLink
public final void setLink(T observable,
boolean isObserver)
- Overrides:
setLink in class Handle<T extends Observable>
Submit a bug or feature
JQuantLib is free software: you can redistribute it and/or modify it under the terms of the QuantLib license. You should have received a copy of the license along with this program; if not, please email mailto:jquant-devel@lists.sourceforge.net. The license is also available online at http://www.jquantlib.org/index.php/LICENSE.TXT.