|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.wpi.cs.dsrg.xmldb.xat.component.gui.utils.StatisticStorage
The StatisticStorage
class manages all of the statistics.
The first HashMap
's 'key' is the XATQueryObject
representing a:
HashMap
. This second
HashMap
's 'key' is the statistic name and 'value'
is an ArrayList
of statistic values.
Constructor Summary | |
StatisticStorage(GUI gui)
Initializes the StatisticStorage HashMap . |
Method Summary | |
java.lang.Object |
getStatistic(java.lang.Object key,
java.lang.String statistic)
Returns an ArrayList of statistic values for the given
key and statistic . |
void |
initialize()
Initializes the StatisticStorage HashMap keys to
all of the trees, queues and operators and values to HashMap s. |
void |
update(java.lang.Object queryObject)
Updates all of the statistic values for the given queryObject . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StatisticStorage(GUI gui)
StatisticStorage HashMap
.
Method Detail |
public java.lang.Object getStatistic(java.lang.Object key, java.lang.String statistic)
ArrayList
of statistic values for the given
key
and statistic
.
key
- - edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATQueryObjectstatistic
- - java.lang.String
ArrayList
of statistic values.public void initialize()
StatisticStorage HashMap
keys to
all of the trees, queues and operators and values to HashMap
s.
The second HashMap
's keys are the statistic names and values
are empty ArrayList
s to hold the statistic values.
public void update(java.lang.Object queryObject)
queryObject
.
queryObject
- - edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATQueryObject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |