|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ca.spaz.cron.user.UserMetrics
public class UserMetrics
Constructor Summary | |
---|---|
UserMetrics()
Create a new UserMetrics object with the current time
as its date; |
|
UserMetrics(java.util.Date date)
Create a new UserMetrics object with the specified time
as its date; |
Method Summary | |
---|---|
void |
addMetric(Metric metric)
Add a new metric to the list. |
int |
compareTo(java.lang.Object arg0)
|
boolean |
equals(java.lang.Object o)
|
java.util.Date |
getMetricDate()
Get the date of this set of metrics. |
java.util.List |
getMetrics()
Get a list of the metrics in this object. |
int |
hashCode()
|
void |
removeMetric(Metric metric)
Remove a metric from the list. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserMetrics()
UserMetrics
object with the current time
as its date;
public UserMetrics(java.util.Date date)
UserMetrics
object with the specified time
as its date;
date
- The time of this set of metrics.Method Detail |
---|
public java.util.Date getMetricDate()
Date
object for the metrics.public java.util.List getMetrics()
List
of metrics for this object.public void addMetric(Metric metric)
metric
- the Metric
to add.public void removeMetric(Metric metric)
metric
- the Metric
to remove.public int compareTo(java.lang.Object arg0)
compareTo
in interface java.lang.Comparable
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |