Class VariableStatisticsSet
java.lang.Object
cern.nxcals.api.backport.domain.core.timeseriesdata.VariableStatisticsSet
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddVariableStatistics(VariableStatistics variableStatistics) Deprecated.very inefficient and conceptually wrong.getVariableStatistics(int position) Deprecated.you should not try to obtain an n-th element of a set, even if it is an ordered set.getVariableStatistics(String variableName) iterator()voidremoveVariableStatistics(VariableStatistics variableStatistics) intsize()
-
Constructor Details
-
VariableStatisticsSet
public VariableStatisticsSet()
-
-
Method Details
-
getVariableStatistics
- 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.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
- Parameters:
variableStatistics- - the VariableStatistics to be added to this VariableStatisticsSet
-
removeVariableStatistics
- Parameters:
variableStatistics- - the VariableStatistics to be removed from this VariableStatisticsSet
-
iterator
- Returns:
- - an Iterator for all VariableStatistics in this VariableStatisticsSet
-
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
-