JQuantLib v0.1.2-SNAPSHOT API Javadocs

org.jquantlib.quotes
Class SimpleQuote

Package class diagram package SimpleQuote
java.lang.Object
  extended by org.jquantlib.quotes.Quote
      extended by org.jquantlib.quotes.SimpleQuote
All Implemented Interfaces:
FunctionDouble, Observable

public class SimpleQuote
extends Quote


Field Summary
private  double value
           
 
Constructor Summary
SimpleQuote(double d)
           
SimpleQuote(SimpleQuote o)
           
 
Method Summary
 double evaluate()
          Mimics the operator overloading
 void setValue(double value)
           
 
Methods inherited from class org.jquantlib.quotes.Quote
addObserver, countObservers, deleteObserver, deleteObservers, getObservers, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

private double value
Constructor Detail

SimpleQuote

public SimpleQuote(SimpleQuote o)

SimpleQuote

public SimpleQuote(double d)
Method Detail

setValue

public void setValue(double value)

evaluate

public final double evaluate()
Description copied from interface: FunctionDouble
Mimics the operator overloading
operator()

Returns:
a double

JQuantLib v0.1.2-SNAPSHOT API Javadocs

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.