Documentation of 'org.jquantlib.termstructures.BootstrapHelper' Java class
BootstrapHelper
org.jquantlib.termstructures

Class BootstrapHelper<TS extends TermStructure>

  • All Implemented Interfaces:
    Observable, Observer, PolymorphicVisitable
    Direct Known Subclasses:
    RateHelper


    public abstract class BootstrapHelper<TS extends TermStructure>
    extends java.lang.Object
    implements Observer, Observable, PolymorphicVisitable
    Base helper class for bootstrapping

    This class provides an abstraction for the instruments used to bootstrap a term structure.

    It is advised that a bootstrap helper for an instrument contains an instance of the actual instrument class to ensure consistancy between the algorithms used during bootstrapping and later instrument pricing. This is not yet fully enforced in the available rate helpers.

    • Constructor Detail

      • BootstrapHelper

        public BootstrapHelper(Handle<Quote> quote)
      • BootstrapHelper

        public BootstrapHelper(double quote)
    • Method Detail

      • impliedQuote

        public abstract double impliedQuote()
      • quoteError

        public double quoteError()
      • quoteIsValid

        public boolean quoteIsValid()
      • setTermStructure

        public void setTermStructure(TS c)
      • earliestDate

        public Date earliestDate()
      • latestDate

        public Date latestDate()
      • update

        public void update()
        Description copied from interface: Observer
        This method is called whenever the observed object is changed.
        Specified by:
        update in interface Observer
      • addObserver

        public final void addObserver(Observer observer)
        Description copied from interface: Observable
        Attaches a observer to the Observable. After attachment the observer gets informed about changes in the Observable.
        Specified by:
        addObserver in interface Observable
        Parameters:
        observer - The observer to attach to the observable
      • countObservers

        public final int countObservers()
        Description copied from interface: Observable
        Counts how many Observers were attached to this class.
        Specified by:
        countObservers in interface Observable
        Returns:
        the number of Observers
        See Also:
        Observer
      • deleteObserver

        public final void deleteObserver(Observer observer)
        Description copied from interface: Observable
        Detaches a previously attached observer to the observable. After detachment the observer does no longer receive change notifications from the observable.
        Specified by:
        deleteObserver in interface Observable
        Parameters:
        observer - The observer to detach from the observable
      • notifyObservers

        public final void notifyObservers()
        Description copied from interface: Observable
        Notifies all attached observers about changes in the observable.
        Specified by:
        notifyObservers in interface Observable
      • notifyObservers

        public final void notifyObservers(java.lang.Object arg)
        Description copied from interface: Observable
        Notifies all attached observers about changes in the observable.
        Specified by:
        notifyObservers in interface Observable
        Parameters:
        arg - an arbitrary Object to be passed to the Observer
      • deleteObservers

        public final void deleteObservers()
        Description copied from interface: Observable
        Detaches all previously attached observer to the observable. After detachment observers do not longer receive change notifications from the observable.
        Specified by:
        deleteObservers in interface Observable
      • getObservers

        public final java.util.List<Observer> getObservers()
        Description copied from interface: Observable
        Returns list of observers registered with the Observable. List returned is unmodifiable list.
        Specified by:
        getObservers in interface Observable
        Returns:
        list of observers

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.