TimelineDataSet.java

Go to the documentation of this file.
00001 package edu.rice.cs.hpc.traceviewer.data.db;
00002 
00003 import java.util.ArrayList;
00004 import java.util.List;
00005 
00006 public class TimelineDataSet {
00007 
00008     final private List<BaseDataVisualization> list;
00009     final private int height;
00010     final private int linenum;
00011     
00012     public TimelineDataSet( int linenum, int initSize, int height ) {
00013         
00014         list = new ArrayList<BaseDataVisualization>(initSize);
00015         this.height = height; 
00016         this.linenum = linenum;
00017     }
00018     
00019     public void add( BaseDataVisualization data ) {
00020         list.add(data);
00021     }
00022     
00023     public List<BaseDataVisualization> getList() {
00024         return list;
00025     }
00026     
00027     public int getHeight() {
00028         return height;
00029     }
00030     
00031     public int getLineNumber() {
00032         return linenum;
00033     }
00034 }

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1