edu.ucsb.nmsl.tools
Class IntegerStatistic
java.lang.Object
edu.ucsb.nmsl.tools.BaseStatistic
edu.ucsb.nmsl.tools.IntegerStatistic
- All Implemented Interfaces:
- Statistic
public class IntegerStatistic
- extends BaseStatistic
This class represents a statistic that represents integer information.
The purpose of this class is to facilitate the research associated with the
creation of the system and is not needed in the normal operation of
AutoCap. Only the displayString method is overloaded withing the definition.
- Version:
- 1.0
- See Also:
StatisticsPackage
Constructor Summary |
IntegerStatistic(java.lang.String n,
int i)
This contructor builds a IntegerStatistic instance with the name
specified by "n" and with the value, as an integer, specified by i. |
IntegerStatistic(java.lang.String n,
java.lang.Integer i)
This contructor builds a IntegerStatistic instance with the name
specified by "n" and with the value, as an integer, specified by i. |
Method Summary |
java.lang.String |
displayString()
This method returns a string that can be used to neatly show the
statistical information associated with this particular instance. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntegerStatistic
public IntegerStatistic(java.lang.String n,
java.lang.Integer i)
- This contructor builds a IntegerStatistic instance with the name
specified by "n" and with the value, as an integer, specified by i.
- Parameters:
n
- The name of the DoubleStatisic.i
- The percentage value of the statistic.
IntegerStatistic
public IntegerStatistic(java.lang.String n,
int i)
- This contructor builds a IntegerStatistic instance with the name
specified by "n" and with the value, as an integer, specified by i.
- Parameters:
n
- The name of the IntegerStatisic.i
- The percentage value of the statistic.
displayString
public java.lang.String displayString()
- This method returns a string that can be used to neatly show the
statistical information associated with this particular instance.
- Returns:
- A string representing the statistical information. This string
usually takes the form of <Name> = <Integer>