@Override public double getMaxValue() { this.compress(); double max = this.getEntryCount() < this.getDimensionality() ? 0.0 : Double.NEGATIVE_INFINITY; for (final double value : this.values) { if (value > max) { max = value; } } return max; }
@Override public double getMinValue() { this.compress(); double min = this.getEntryCount() < this.getDimensionality() ? 0.0 : Double.POSITIVE_INFINITY; for (final double value : this.values) { if (value < min) { min = value; } } return min; }
@Override public double getMinValue() { this.compress(); double min = this.getEntryCount() < this.getDimensionality() ? 0.0 : Double.POSITIVE_INFINITY; for (final double value : this.values) { if (value < min) { min = value; } } return min; }
@Override public double getMaxValue() { this.compress(); double max = this.getEntryCount() < this.getDimensionality() ? 0.0 : Double.NEGATIVE_INFINITY; for (final double value : this.values) { if (value > max) { max = value; } } return max; }
@Override public double getMinValue() { this.compress(); double min = this.getEntryCount() < this.getDimensionality() ? 0.0 : Double.POSITIVE_INFINITY; for (final double value : this.values) { if (value < min) { min = value; } } return min; }
@Override public double getMaxValue() { this.compress(); double max = this.getEntryCount() < this.getDimensionality() ? 0.0 : Double.NEGATIVE_INFINITY; for (final double value : this.values) { if (value > max) { max = value; } } return max; }