Package org.quantlib

Class Payoff

  • All Implemented Interfaces:
    AutoCloseable, org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
    Direct Known Subclasses:
    BasketPayoff, TypePayoff

    public class Payoff
    extends Object
    implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
    • Constructor Detail

      • Payoff

        protected Payoff​(long cPtr,
                         boolean cMemoryOwn)
    • Method Detail

      • delete

        public void delete()
        Specified by:
        delete in interface org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
      • getValue

        public double getValue​(double price)