Class VariableStatisticsSet
- java.lang.Object
-
- cern.nxcals.api.backport.domain.core.timeseriesdata.VariableStatisticsSet
-
- All Implemented Interfaces:
java.io.Serializable
public class VariableStatisticsSet extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VariableStatisticsSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddVariableStatistics(VariableStatistics variableStatistics)java.util.List<VariableStatistics>getStatisticsList()Deprecated.very inefficient and conceptually wrong.VariableStatisticsgetVariableStatistics(int position)Deprecated.you should not try to obtain an n-th element of a set, even if it is an ordered set.VariableStatisticsgetVariableStatistics(java.lang.String variableName)java.util.Iterator<VariableStatistics>iterator()voidremoveVariableStatistics(VariableStatistics variableStatistics)intsize()
-
-
-
Method Detail
-
getVariableStatistics
public VariableStatistics getVariableStatistics(java.lang.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 java.util.Iterator<VariableStatistics> iterator()
- Returns:
- - an Iterator for all VariableStatistics in this VariableStatisticsSet
-
getStatisticsList
@Deprecated public java.util.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
-
-