文件名称:Observer
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:3.42kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
股票的价格随着时间会在一定范围内波动,对于每个股票,股民需要三种报告:股票的当前价格;股票价格的统计分析报告(最低价、最高价、均价);股票价格趋势预测(建议采用移动平均预测法)。根据实际情况,也可能需要增加其他类型的报告。提示:股价变动用随机数模拟:java.util.Random。代码运用观察者模式,编写了上述股票行情程序,当股票价格变动时,实现各种报告的更新。-The price of the stock will over time in a certain range, for each stock, investors need to three report: the current price of stock Stock price statistics analysis report (the lowest price, maximum price, average price) Stock price trend prediction (recommended moving average prediction method). According to actual condition, also may need to increase the other types of reports. Tip: share price changes with Random simulation: Java. Util. Random. Code using spectator mode, write the stock market program, when the stock price changes, realize all kinds of report of updates.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Observer/
Observer/Application.java
Observer/DisplayReport.java
Observer/Observer.java
Observer/PriceForecast.java
Observer/PriceNow.java
Observer/PriceStatistics.java
Observer/Stock.java
Observer/Subject.java
Observer/Application.java
Observer/DisplayReport.java
Observer/Observer.java
Observer/PriceForecast.java
Observer/PriceNow.java
Observer/PriceStatistics.java
Observer/Stock.java
Observer/Subject.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.