- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for hasArray (0.41 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/core/log/Logger.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.log; import static org.codelibs.core.collection.ArrayUtil.asArray; import static org.codelibs.core.collection.CollectionsUtil.newHashMap; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/StatsTest.java
// For datasets of many double values created from an array, we test many combinations of finite // and non-finite values: for (ManyValues values : ALL_MANY_VALUES) { double mean = Stats.of(values.asArray()).mean(); if (values.hasAnyNaN()) { assertWithMessage("mean of %s", values).that(mean).isNaN(); } else if (values.hasAnyPositiveInfinity() && values.hasAnyNegativeInfinity()) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 33.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
ManyValues(double[] values) { this.values = ImmutableList.copyOf(Doubles.asList(values)); } ImmutableList<Double> asIterable() { return values; } double[] asArray() { return Doubles.toArray(values); } boolean hasAnyPositiveInfinity() { return Iterables.any(values, Predicates.equalTo(POSITIVE_INFINITY)); } boolean hasAnyNegativeInfinity() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 24K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
for (ManyValues values : ALL_MANY_VALUES) { StatsAccumulator accumulator = new StatsAccumulator(); StatsAccumulator accumulatorByAddAllStats = new StatsAccumulator(); accumulator.addAll(values.asArray()); for (double value : values.asIterable()) { accumulatorByAddAllStats.addAll(Stats.of(value)); } double max = accumulator.max(); double maxByAddAllStats = accumulatorByAddAllStats.max();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 37.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
for (ManyValues values : ALL_MANY_VALUES) { StatsAccumulator accumulator = new StatsAccumulator(); StatsAccumulator accumulatorByAddAllStats = new StatsAccumulator(); accumulator.addAll(values.asArray()); for (double value : values.asIterable()) { accumulatorByAddAllStats.addAll(Stats.of(value)); } double max = accumulator.max(); double maxByAddAllStats = accumulatorByAddAllStats.max();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 37.1K bytes - Click Count (0)