- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 209 for multiGet (0.05 seconds)
-
android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java
// targets.size() < size() / log(size()) // TODO(kevinb): see if we can share code with OrderedIterator after it // graduates from labs. if (targets instanceof Multiset) { targets = ((Multiset<?>) targets).elementSet(); } if (!SortedIterables.hasSameComparator(comparator(), targets) || (targets.size() <= 1)) { return super.containsAll(targets); } /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 8.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
* limitations under the License. */ package com.google.common.collect; import static java.util.Arrays.asList; import com.google.common.base.Function; import com.google.common.collect.Multiset.Entry; import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.google.SortedMultisetTestSuiteBuilder;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java
/* * As the class docs say, this test only makes sense for collections that define equals(). * Accordingly, our testing framework adds it only when testing an implementation of List, Set, or * Multiset. */ @SuppressWarnings("UndefinedEquals") public void testReserialize() { assertEquals(SerializableTester.reserialize(actualContents()), actualContents()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 1.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationEqualTester.java
/* * As the class docs say, this test only makes sense for collections that define equals(). * Accordingly, our testing framework adds it only when testing an implementation of List, Set, or * Multiset. */ @SuppressWarnings("UndefinedEquals") public void testReserialize() { assertEquals(SerializableTester.reserialize(actualContents()), actualContents()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 1.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
} @Override public int size() { return ImmutableMultimap.this.size(); } @Override Multiset.Entry<K> getEntry(int index) { Map.Entry<K, ? extends Collection<V>> entry = map.entrySet().asList().get(index); return Multisets.immutableEntry(entry.getKey(), entry.getValue().size()); } @Override boolean isPartialView() { return true; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 28.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableSortedSet.java
// targets.size() < size() / log(size()) // TODO(kevinb): see if we can share code with OrderedIterator after it // graduates from labs. if (targets instanceof Multiset) { targets = ((Multiset<?>) targets).elementSet(); } if (!SortedIterables.hasSameComparator(comparator(), targets) || (targets.size() <= 1)) { return super.containsAll(targets); } /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 9K bytes - Click Count (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMultiset.java
int count = entry.getCount(); size += count; E element = checkNotNull(entry.getElement()); delegateMap.put(element, count); if (!(entry instanceof Multisets.ImmutableEntry)) { entriesArray[i] = Multisets.immutableEntry(element, count); } } return new JdkBackedImmutableMultiset<>(delegateMap, asImmutableList(entriesArray), size); } private JdkBackedImmutableMultiset(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 3.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
public void testFrequency_multiset() { Multiset<String> multiset = ImmutableMultiset.of("a", "b", "a", "c", "b", "a"); assertEquals(3, frequency(multiset, "a")); assertEquals(2, frequency(multiset, "b")); assertEquals(1, frequency(multiset, "c")); assertEquals(0, frequency(multiset, "d")); assertEquals(0, frequency(multiset, 4.2)); assertEquals(0, frequency(multiset, null)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/SortedMultisetBridge.java
* return {@code SortedSet}. * * @author Louis Wasserman */ @GwtIncompatible interface SortedMultisetBridge<E extends @Nullable Object> extends Multiset<E> { @Override SortedSet<E> elementSet();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java
import com.google.common.annotations.GwtCompatible; import com.google.common.collect.testing.features.CollectionFeature; import java.util.Collections; import org.junit.Ignore; /** * Tests for {@code Multiset.add}. * * @author Jared Levy */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 4.1K bytes - Click Count (0)