Package com.yahoo.statistics
Class Limits
- java.lang.Object
-
- com.yahoo.statistics.Limits
-
public class Limits extends java.lang.Object
Limits for a histogram, this is only a wrapper for initializing a histogram.- Author:
- Steinar Knutsen
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAxis(java.lang.String name, double[] limits)
void
freeze()
Prevent adding any mores axes.boolean
isFrozen()
True if further change is not permitted.
-
-
-
Method Detail
-
addAxis
public void addAxis(java.lang.String name, double[] limits)
- Parameters:
name
- the name of the variable for this axislimits
- the bucket limits for this axis
-
freeze
public void freeze()
Prevent adding any mores axes.
-
isFrozen
public boolean isFrozen()
True if further change is not permitted.- Returns:
- whether this object now should be considered immutable
-
-