|
|||||||||
| Home >> All >> org >> mandarax >> eca >> [ example overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.mandarax.eca.example
Class StockQuote

java.lang.Objectorg.mandarax.eca.example.StockQuote
- public class StockQuote
- extends java.lang.Object
Class providing stock quotes for our investments. Currently a dummy, but could be replaced by an implementation that issues HTTP requests (peraps SOAP queries) to an online service.
| Field Summary | |
(package private) static java.util.Random |
random
|
| Constructor Summary | |
StockQuote()
|
|
| Method Summary | |
static double |
getQuote(Investment inv)
Get the recent (absolute) change. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
random
static java.util.Random random
| Constructor Detail |
StockQuote
public StockQuote()
| Method Detail |
getQuote
public static double getQuote(Investment inv)
- Get the recent (absolute) change.
main
public static void main(java.lang.String[] args)
|
|||||||||
| Home >> All >> org >> mandarax >> eca >> [ example overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.mandarax.eca.example.StockQuote