- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 2,047 for collection (0.09 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java
} return derivedSuites; } private static final class ReserializedListGenerator<E> implements TestListGenerator<E> { final OneSizeTestContainerGenerator<Collection<E>, E> gen; private ReserializedListGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) { this.gen = gen; } @Override public SampleElements<E> samples() { return gen.samples(); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.3K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/DefaultTypeProvider.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java
boolean defaultsToEmpty); /** * Creates a composite function from a collection of functions. * * @param functions A collection of functions, each taking a String as input and returning a String. * @return A function that applies each function in the collection in order until a non-null result is found. * If all functions return null, the composite function returns null.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Jan 13 16:14:35 GMT 2025 - 6.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingExecutorService.java
} @Override public <T extends @Nullable Object> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks) throws InterruptedException { return delegate().invokeAll(tasks); } @Override public <T extends @Nullable Object> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Floats.java
* to primitives * @throws NullPointerException if {@code collection} or any of its elements is null * @since 1.0 (parameter was {@code Collection<Float>} before 12.0) */ public static float[] toArray(Collection<? extends Number> collection) { if (collection instanceof FloatArrayAsList) { return ((FloatArrayAsList) collection).toFloatArray(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 25.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/OneSizeGenerator.java
import com.google.common.collect.testing.features.CollectionSize; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Generator for collection of a particular size. * * @author George van den Driessche */ @GwtCompatible @NullMarked
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java
multimap.put("a", -3); multimap.put("z", -2); return multimap; } @Override protected Map<String, Collection<Integer>> makeEmptyMap() { return createMultimap().asMap().subMap("e", "p"); } @Override protected Map<String, Collection<Integer>> makePopulatedMap() { TreeMultimap<String, Integer> multimap = createMultimap(); multimap.put("f", 1); multimap.put("f", 2);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 3.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.TreeSet; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; /** * Run collection tests on wrappers from {@link Multimaps}. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Sep 24 22:52:18 GMT 2025 - 28.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
K key, V value) { return singletonMap(key, value).entrySet().iterator().next(); } private static boolean isEmpty(Iterable<?> iterable) { return iterable instanceof Collection ? ((Collection<?>) iterable).isEmpty() : !iterable.iterator().hasNext(); } public static void assertEmpty(Iterable<?> iterable) { if (!isEmpty(iterable)) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 17.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/QuantilesAlgorithm.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.collect.ImmutableMap; import java.math.RoundingMode; import java.util.Arrays; import java.util.Collection; import java.util.Map; import org.jspecify.annotations.NullUnmarked; /** * Enumerates several algorithms providing equivalent functionality to {@link Quantiles}, for use inCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 7.3K bytes - Click Count (0)