|
From: Márcio V. d. S. <mv...@us...> - 2007-05-17 21:30:55
|
Update of /cvsroot/tail/Tail/src/java/net/sf/tail In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv27559/src/java/net/sf/tail Modified Files: Tick.java Log Message: transformando template method em decorator (caso CachedIndicator) Index: Tick.java =================================================================== RCS file: /cvsroot/tail/Tail/src/java/net/sf/tail/Tick.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Tick.java 17 May 2007 20:50:17 -0000 1.6 --- Tick.java 17 May 2007 21:30:54 -0000 1.7 *************** *** 35,39 **** this.trades = trades; } ! public Tick(double openPrice, double closePrice, double maxPrice, double minPrice) { --- 35,39 ---- this.trades = trades; } ! public Tick(double openPrice, double closePrice, double maxPrice, double minPrice) { *************** *** 91,95 **** return false; } ! public double getVariation() { return variation; --- 91,95 ---- return false; } ! public double getVariation() { return variation; |