View Javadoc

1   /**
2    * 
3    */
4   package pt.digitalis.sampleApp.util.stats;
5   
6   /**
7    * @author Pedro Viegas <a
8    *         href="mailto:pviegas@digitalis.pt">pviegas@digitalis.pt</a>
9    * @created Aug 8, 2007
10   * 
11   */
12  public class Series {
13  
14  	/**
15  	 * Constructor
16  	 * 
17  	 * @param name
18  	 *            the name of the series
19  	 * @param values
20  	 *            the values of the series
21  	 */
22  	public Series(String name, long[] values) {
23  		this.name = name;
24  		this.values = values;
25  	}
26  
27  	/** The series name */
28  	private String name;
29  
30  	/** The time values */
31  	private long[] values;
32  
33  	/**
34  	 * @return the name
35  	 */
36  	public String getName() {
37  		return name;
38  	}
39  
40  	/**
41  	 * @return the values
42  	 */
43  	public long[] getValues() {
44  		return values;
45  	}
46  }