org.terracotta.statistics
Class ConstantValueStatistic<T extends Number>

java.lang.Object
  extended by org.terracotta.statistics.ConstantValueStatistic<T>
All Implemented Interfaces:
ValueStatistic<T>

public class ConstantValueStatistic<T extends Number>
extends Object
implements ValueStatistic<T>

Author:
cdennis

Method Summary
static
<T extends Number>
ValueStatistic<T>
instance(T value)
           
 T value()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static <T extends Number> ValueStatistic<T> instance(T value)

value

public T value()
Specified by:
value in interface ValueStatistic<T extends Number>


Copyright © 2016. All Rights Reserved.