Class VariableStatisticsSet

java.lang.Object
cern.nxcals.api.backport.domain.core.timeseriesdata.VariableStatisticsSet
All Implemented Interfaces:
Serializable

public class VariableStatisticsSet extends Object implements Serializable
See Also:
  • Constructor Details

    • VariableStatisticsSet

      public VariableStatisticsSet()
  • Method Details

    • getVariableStatistics

      public VariableStatistics getVariableStatistics(String variableName)
      Parameters:
      variableName - - the name of the Variable for which VariableStatistics should be returned.
      Returns:
      - VariableStatistics of the Variable with the given name within this VariableStatisticsSet
    • getVariableStatistics

      @Deprecated public VariableStatistics getVariableStatistics(int position)
      Deprecated.
      you should not try to obtain an n-th element of a set, even if it is an ordered set. Very inefficient. Never use.
      Parameters:
      position - - the position of the VariableStataistics in the VariableStatisticsSet for which VariableStatistics should be returned.
      Returns:
      - VariableStatistics at the position in the VariableStatisticsSet
    • addVariableStatistics

      public void addVariableStatistics(VariableStatistics variableStatistics)
      Parameters:
      variableStatistics - - the VariableStatistics to be added to this VariableStatisticsSet
    • removeVariableStatistics

      public void removeVariableStatistics(VariableStatistics variableStatistics)
      Parameters:
      variableStatistics - - the VariableStatistics to be removed from this VariableStatisticsSet
    • iterator

      public Iterator<VariableStatistics> iterator()
      Returns:
      - an Iterator for all VariableStatistics in this VariableStatisticsSet
    • getStatisticsList

      @Deprecated public List<VariableStatistics> getStatisticsList()
      Deprecated.
      very inefficient and conceptually wrong. Never use.
      Returns:
      - a List containing all VariableStatistics in this VariableStatisticsSet
    • size

      public int size()
      Returns:
      - the number of VariableStatistics in this VariableStatisticsSet