Methods Summary |
---|
public boolean | equals(java.lang.Object rhs)
boolean equals = false;
if ( rhs instanceof Statistic )
{
final Statistic s = (Statistic)rhs;
equals = getName().equals( s.getName() ) &&
getUnit().equals( s.getUnit() ) &&
getDescription().equals( s.getDescription() ) &&
getStartTime() == s.getStartTime() &&
getLastSampleTime() == s.getLastSampleTime();
}
return( equals );
|
public java.lang.String | getDescription()Get the description for this Statistic
return( mDescription );
|
public long | getLastSampleTime()Get the last sample time for this Statistic
return( mLastSampleTime );
|
public java.lang.String | getName()Get the name of this Statistic
return( mName );
|
public long | getStartTime()Get the start time for this Statistic
return( mStartTime );
|
public java.lang.String | getUnit()Get the units associated with this statistic.
return( mUnit );
|
public int | hashCode()
return ObjectUtil.hashCode( mName, mDescription, mUnit) ^
ObjectUtil.hashCode( mLastSampleTime ) ^
ObjectUtil.hashCode( mStartTime );
|
public java.lang.String | toString()
return StatisticStringifier.DEFAULT.stringify( this );
|