Class Limits

java.lang.Object
com.yahoo.statistics.Limits

@Deprecated public class Limits extends Object
Deprecated.
Limits for a histogram, this is only a wrapper for initializing a histogram.
Author:
Steinar Knutsen
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Create an empty Limits instance.
    Limits(double[] limits)
    Deprecated.
    Create a Limits instance suitable for use in a Value.Parameters instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addAxis(String name, double[] limits)
    Deprecated.
     
    void
    Deprecated.
    Prevent adding any mores axes.
    boolean
    Deprecated.
    True if further change is not permitted.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Limits

      public Limits()
      Deprecated.
      Create an empty Limits instance.
    • Limits

      public Limits(double[] limits)
      Deprecated.
      Create a Limits instance suitable for use in a Value.Parameters instance. The instance will be frozen.
  • Method Details

    • addAxis

      public void addAxis(String name, double[] limits)
      Deprecated.
      Parameters:
      name - the name of the variable for this axis
      limits - the bucket limits for this axis
    • freeze

      public void freeze()
      Deprecated.
      Prevent adding any mores axes.
    • isFrozen

      public boolean isFrozen()
      Deprecated.
      True if further change is not permitted.
      Returns:
      whether this object now should be considered immutable