Class ConstantValueStatistic<T extends java.io.Serializable>

  • All Implemented Interfaces:
    java.io.Serializable, ValueStatistic<T>

    public class ConstantValueStatistic<T extends java.io.Serializable>
    extends java.lang.Object
    implements ValueStatistic<T>, java.io.Serializable
    See Also:
    Serialized Form
    • Field Detail

      • value

        private final T extends java.io.Serializable value
    • Constructor Detail

      • ConstantValueStatistic

        public ConstantValueStatistic​(StatisticType type,
                                      T value)
    • Method Detail

      • value

        public T value()
        Specified by:
        value in interface ValueStatistic<T extends java.io.Serializable>
        Returns:
        The current statistic value