com.neeve.stats
Class IntGauge

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

public abstract class IntGauge
extends AbstractGauge

Base class for int IStats.Gauge implementations.


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

Constructor Detail

IntGauge

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

getIntValue

public abstract int getIntValue()
Description copied from interface: IStats.Gauge
Gets the current value for a IStats.Gauge.Type.Int Gauge.

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


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