com.neeve.stats
Class ShortGauge

java.lang.Object
  extended by com.neeve.stats.AbstractGauge
      extended by com.neeve.stats.ShortGauge
All Implemented Interfaces:
IStats.Gauge

public abstract class ShortGauge
extends AbstractGauge

Base class for short IStats.Gauge implementations.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.neeve.stats.IStats.Gauge
IStats.Gauge.Type
 
Constructor Summary
ShortGauge(String name)
           
 
Method Summary
abstract  short getShortValue()
          Gets the current value for a IStats.Gauge.Type.Short Gauge.
 
Methods inherited from class com.neeve.stats.AbstractGauge
get, getBooleanValue, getByteValue, getCharValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getName, getNameAsRaw, getStringValue, getType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShortGauge

public ShortGauge(String name)
Parameters:
name - The name of the IStats.Gauge.
Method Detail

getShortValue

public abstract short getShortValue()
Description copied from interface: IStats.Gauge
Gets the current value for a IStats.Gauge.Type.Short Gauge.

Specified by:
getShortValue in interface IStats.Gauge
Overrides:
getShortValue in class AbstractGauge
Returns:
The current value for a IStats.Gauge.Type.Short Gauge.


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.