MCPcopy Create free account
hub / github.com/google/guava / min

Method min

android/guava/src/com/google/common/math/Stats.java:384–387  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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

Callers 15

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

Calls 1

checkStateMethod · 0.45

Tested by 15

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