org.android.activityminer.persistence
Class DBStatistic

Package class diagram package DBStatistic
java.lang.Object
  extended by org.android.activityminer.persistence.DBStatistic

public class DBStatistic
extends Object

Container class for database statistic information


Field Summary
 android.support.v4.util.LongSparseArray<DBSampleStatistic> mapActivityId2Statistic
          A map with the sample statistic per activity identifier
 ActivityLabelMap mapActivityLabels
          The activity label map
 
Constructor Summary
DBStatistic(ActivityLabelMap mapActivityLabels)
          Constructor
 
Method Summary
 List<ActivityLabel> getActivityLabelsWithoutPredecessor()
          Getter for all activity labels without predecessors
 List<DBSampleStatistic> getSampleStatistic()
          Getter for the sample statistics ordered by the activity hierarchy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mapActivityId2Statistic

public final android.support.v4.util.LongSparseArray<DBSampleStatistic> mapActivityId2Statistic
A map with the sample statistic per activity identifier


mapActivityLabels

public final ActivityLabelMap mapActivityLabels
The activity label map

Constructor Detail

DBStatistic

public DBStatistic(ActivityLabelMap mapActivityLabels)
Constructor

Parameters:
mapActivityLabels - the activity label map
Method Detail

getSampleStatistic

public final List<DBSampleStatistic> getSampleStatistic()
Getter for the sample statistics ordered by the activity hierarchy

Returns:
a list with the sample statistics

getActivityLabelsWithoutPredecessor

public final List<ActivityLabel> getActivityLabelsWithoutPredecessor()
Getter for all activity labels without predecessors

Returns:
a list with all activity labels without predecessors