All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jamonapi.RangeBase Maven / Gradle / Ivy

There is a newer version: 2.82
Show newest version
package com.jamonapi;

/** Base class for ranges which are a compromise between aggregation and tracking details.
 */
final class RangeBase extends RangeImp  {

    private static final long serialVersionUID = 278L;
    private double[] rangeValues;


    /** The first range will catcth anything less than that value. */
    RangeBase(RangeHolder rangeHolder) {
        this.rangeHolder=rangeHolder;
        this.isLessThan=rangeHolder.isLessThan();
        this.rangeValues=rangeHolder.getEndPoints();

        int len=rangeValues.length;
        // add one to cover values less than first range
        frequencyDist=new FrequencyDistBase[len+1];
        for (int i=0;i




© 2015 - 2024 Weber Informatics LLC | Privacy Policy