com.neeve.stats
Class FloatGauge

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

public abstract class FloatGauge
extends AbstractGauge

Base class for float IStats.Gauge implementations.


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

Constructor Detail

FloatGauge

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

getFloatValue

public abstract float getFloatValue()
Description copied from interface: IStats.Gauge
Gets the current value for a IStats.Gauge.Type.Float Gauge.

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


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