|
From: Márcio V. d. S. <mv...@us...> - 2007-05-12 13:21:15
|
Update of /cvsroot/tail/Tail/src/java/net/sf/tail In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv18587/src/java/net/sf/tail Modified Files: Tick.java Log Message: Tick mesclado Index: Tick.java =================================================================== RCS file: /cvsroot/tail/Tail/src/java/net/sf/tail/Tick.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Tick.java 12 May 2007 12:59:36 -0000 1.2 --- Tick.java 12 May 2007 13:21:14 -0000 1.3 *************** *** 1,41 **** package net.sf.tail; ! public class Tick { ! private double openPrice; ! private double closePrice; ! private double maxPrice; ! ! private double minPrice; ! ! private double change; ! ! private double previousPrice; ! ! private double volumeAmount; ! ! private double volumeFinancier; ! ! private int trades; ! public Tick(double closePrice) { ! super(); ! this.closePrice = closePrice; ! } ! public double getClosePrice() { ! return closePrice; ! } ! public double getOpenPrice() { ! return openPrice; ! } ! public int getTrades() { ! return trades; ! } --- 1,51 ---- package net.sf.tail; ! import java.sql.Timestamp; ! public class Tick { ! private Timestamp data; ! private double openPrice; ! private double closePrice; ! private double maxPrice; ! private double minPrice; ! private double change; ! private double previousPrice; ! private double volumeAmount; ! private double volumeFinancier; ! private int trades; ! public Tick(double closePrice) { ! super(); ! this.closePrice = closePrice; ! } ! public Tick(Timestamp data, double openPrice, double closePrice, double maxPrice, double minPrice, ! double change,double previousPrice,double volumeAmount,double volumeFinancier,int trades) { ! super(); ! this.data = data; ! this.openPrice = openPrice; ! this.closePrice = closePrice; ! this.maxPrice = maxPrice; ! this.minPrice = minPrice; ! this.change = change; ! this.previousPrice = previousPrice; ! this.volumeAmount = volumeAmount; ! this.volumeFinancier = volumeFinancier; ! this.trades = trades; ! } ! public double getClosePrice() { ! return closePrice; ! } ! public double getOpenPrice() { ! return openPrice; ! } ! public int getTrades() { ! return trades; ! } *************** *** 69,72 **** --- 79,86 ---- } + public Timestamp getData() { + return data; + } + } |