- Sort Score
- Result 10 results
- Languages All
Results 621 - 630 of 1,023 for Collections (0.11 sec)
-
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
* collection. If the specified collection is a {@link SortedSet} or a {@link PriorityQueue}, this * priority queue will be ordered according to the same ordering. Otherwise, this priority queue * will be ordered according to the {@linkplain Comparable natural ordering} of its elements. * * @param c the collection whose elements are to be placed into this priority queueRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 18.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSortedKeySortedSetMultimap.java
AbstractSortedKeySortedSetMultimap(SortedMap<K, Collection<V>> map) { super(map); } @Override public SortedMap<K, Collection<V>> asMap() { return (SortedMap<K, Collection<V>>) super.asMap(); } @Override SortedMap<K, Collection<V>> backingMap() { return (SortedMap<K, Collection<V>>) super.backingMap(); } @Override public SortedSet<K> keySet() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingBlockingQueue.java
import java.util.Collection; import java.util.concurrent.BlockingQueue; import java.util.concurrent.TimeUnit; import org.jspecify.annotations.Nullable; /** * A {@link BlockingQueue} which forwards all its method calls to another {@link BlockingQueue}. * Subclasses should override one or more methods to modify the behavior of the backing collectionRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/OneSizeTestContainerGenerator.java
import com.google.common.annotations.GwtCompatible; import com.google.common.collect.testing.features.CollectionSize; import java.util.Collection; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * The subject-generator interface accepted by Collection testers, for testing a Collection at one * particular {@link CollectionSize}. * * <p>This interface should not be implemented outside this package; {@linkRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
public void testCopyOf_shortcut_empty() { Collection<String> c = ImmutableMultiset.of(); assertSame(c, ImmutableMultiset.copyOf(c)); } public void testCopyOf_shortcut_singleton() { Collection<String> c = ImmutableMultiset.of("a"); assertSame(c, ImmutableMultiset.copyOf(c)); } public void testCopyOf_shortcut_immutableMultiset() { Collection<String> c = ImmutableMultiset.of("a", "b", "c");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultimapAsMapImplementsMapTest.java
public ImmutableMultimapAsMapImplementsMapTest() { super(false, false, false); } @Override protected Map<String, Collection<Integer>> makeEmptyMap() { return ImmutableMultimap.<String, Integer>of().asMap(); } @Override protected Map<String, Collection<Integer>> makePopulatedMap() { Multimap<String, Integer> delegate = HashMultimap.create(); populate(delegate);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTransformValuesAsMapTest.java
super(true, true, true); } @Override protected Map<String, Collection<Integer>> makeEmptyMap() { return Multimaps.transformValues( ArrayListMultimap.<String, Integer>create(), Functions.<Integer>identity()) .asMap(); } @Override protected Map<String, Collection<Integer>> makePopulatedMap() { ListMultimap<String, Integer> delegate = ArrayListMultimap.create();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java
import static com.google.common.collect.testing.testers.MapPutTester.getPutNullKeyUnsupportedMethod; import static java.util.Arrays.asList; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import junit.framework.Test; /** * Tests the {@link Map} implementations of {@link java.util}, suppressing tests that trip known * bugs in OpenJDK 6 or higher. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
/** * Returns an iterable whose iterator returns the given elements in order. The elements are copied * out of the source collection at the time this method is called. */ @SuppressWarnings("unchecked") // Es come in, Es go out public static <E extends @Nullable Object> MinimalIterable<E> from(Collection<E> elements) { return (MinimalIterable) of(elements.toArray()); } private @Nullable Iterator<E> iterator;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ListMultimap.java
* the {@link Multimap} interface. */ @Override List<V> get(@ParametricNullness K key); /** * {@inheritDoc} * * <p>Because the values for a given key may have duplicates and follow the insertion ordering, * this method returns a {@link List}, instead of the {@link java.util.Collection} specified in * the {@link Multimap} interface.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.4K bytes - Viewed (0)