|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Statistic
This interface allows for the storage of statistical information for a specific running of AutoCap and associate a name with the information for efficient retrieval and convenience when displaying the data. This convenience comes from the fact that the statistic is converted to a string by prepending the name associated with the statistic to a string and the the value of the Statistic instance.
StatisticsPackage
Method Summary | |
---|---|
java.lang.String |
displayString()
This method returns a string that can be used to neatly show the statistical information associated with a particular instance. |
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. |
Method Detail |
---|
java.lang.String getName()
java.lang.Object getValue()
void setName(java.lang.String n)
n
- - The name to be associated with the statistical information.void setValue(java.lang.Object o)
o
- - The statistical information as an Object. This instance is
usually one of the wrapper classes for primitive types such as
Integer or Double.java.lang.String displayString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |