MCPcopy
hub / github.com/google/guava / min

Method min

guava/src/com/google/common/math/Stats.java:380–383  ·  view source on GitHub ↗

Returns the lowest value in the dataset. The count must be non-zero. <h3>Non-finite values</h3> <p>If the dataset contains {@link Double#NaN} then the result is {@link Double#NaN}. If it contains {@link Double#NEGATIVE_INFINITY} and not {@link Double#NaN} then the result is {@link Double#NEGATIVE_

()

Source from the content-addressed store, hash-verified

378 * @throws IllegalStateException if the dataset is empty
379 */
380 public double min() {
381 checkState(count != 0);
382 return min;
383 }
384
385 /**
386 * Returns the highest value in the dataset. The count must be non-zero.

Callers 15

testEquivalentStreamsMethod · 0.95
compareLabelMethod · 0.45
encodeToMethod · 0.45
drainMethod · 0.45
sliceMethod · 0.45
sizeIfKnownMethod · 0.45
sliceMethod · 0.45

Calls 1

checkStateMethod · 0.45

Tested by 13

testEquivalentStreamsMethod · 0.76
toByteArrayInternalMethod · 0.36
combineBuffersMethod · 0.36
availableMethod · 0.36
readMethod · 0.36
skipMethod · 0.36
skipUpToMethod · 0.36