Class CustomValue

    • Constructor Detail

      • CustomValue

        public CustomValue​(java.lang.String name)
        Creates a new CustomValue object and gives it the specified name. Furthermore, the start time attribute is set to the current time.
        Parameters:
        name - the statistics name
      • CustomValue

        public CustomValue()
        Creates a new CustomValue object.
    • Method Detail

      • setValue

        public void setValue​(double value)
        Sets the value.
        Parameters:
        value - the value
      • getValue

        public double getValue()
        Returns the value.
        Returns:
        the value
      • addValues

        protected java.util.List<java.lang.String> addValues()
        Builds a list of string values that represents the state of this object. Override this method in sub classes to add custom values and use the list created by the super class.
        Overrides:
        addValues in class AbstractData
        Returns:
        the list of values
      • getMinNoCSVElements

        protected int getMinNoCSVElements()
        Returns the minimum number of elements in the CSV string.
        Overrides:
        getMinNoCSVElements in class AbstractData
        Returns:
        minimum number of elements in the CSV string