|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ucsb.nmsl.tools.BaseStatistic
public abstract class BaseStatistic
This class is the base class for all the statistic classes. It provides a default implementation of the getName, setName, getValue, setValue and equals methods.
The purpose of the Statistic classes is to facilitate the research associated with the creation of the system and is not needed in the normal operation of AutoCap.
StatisticsPackage
Field Summary | |
---|---|
(package private) java.lang.String |
Name
The name associated with the statistical information. |
(package private) java.lang.Object |
Value
The value associated with the statistical information. |
Constructor Summary | |
---|---|
BaseStatistic()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
This method overrides the equals method defined in java.lang.Object. |
java.lang.String |
getName()
This method returns the name associated with the statistical information. |
java.lang.Object |
getValue()
This method returns the value of the statistical information. |
void |
setName(java.lang.String n)
This method sets the name associated with the statistical information. |
void |
setValue(java.lang.Object o)
This method sets the value of the statistical information. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface edu.ucsb.nmsl.tools.Statistic |
---|
displayString |
Field Detail |
---|
java.lang.String Name
java.lang.Object Value
Constructor Detail |
---|
public BaseStatistic()
Method Detail |
---|
public java.lang.String getName()
getName
in interface Statistic
public java.lang.Object getValue()
getValue
in interface Statistic
public void setName(java.lang.String n)
setName
in interface Statistic
n
- - The name to be associated with the statistical information.public void setValue(java.lang.Object o)
setValue
in interface Statistic
o
- - The statistical information as an Object. This instance is
usually one of the wrapper classes for primitive types such as
Integer or Double.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- An object this BaseStatistic will be compared to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |