- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 63 for ImmutableEntry (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/collect/DenseImmutableTable.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.collect; import static com.google.common.collect.Maps.immutableEntry; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 9.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java
"multiset.entrySet() didn't contain [present, 1]", getMultiset().entrySet().contains(Multisets.immutableEntry(e0(), 1))); } public void testEntrySet_contains_count0() { assertFalse( "multiset.entrySet() contains [missing, 0]", getMultiset().entrySet().contains(Multisets.immutableEntry(e3(), 0))); } public void testEntrySet_contains_nonentry() { assertFalse(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java
"multiset.entrySet() didn't contain [present, 1]", getMultiset().entrySet().contains(Multisets.immutableEntry(e0(), 1))); } public void testEntrySet_contains_count0() { assertFalse( "multiset.entrySet() contains [missing, 0]", getMultiset().entrySet().contains(Multisets.immutableEntry(e3(), 0))); } public void testEntrySet_contains_nonentry() { assertFalse(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractSortedMultiset.java
@Override public @Nullable Entry<E> pollFirstEntry() { Iterator<Entry<E>> entryIterator = entryIterator(); if (entryIterator.hasNext()) { Entry<E> result = entryIterator.next(); result = Multisets.immutableEntry(result.getElement(), result.getCount()); entryIterator.remove(); return result; } return null; } @Override public @Nullable Entry<E> pollLastEntry() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 4.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.collect; import static com.google.common.collect.Maps.immutableEntry; import static com.google.common.truth.Truth.assertThat; import static java.lang.Math.max; import com.google.common.collect.testing.MapTestSuiteBuilder; import com.google.common.collect.testing.TestStringMapGenerator;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 7.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect.testing.google; import static com.google.common.collect.Maps.immutableEntry; import static java.util.Collections.singleton; import static java.util.Collections.unmodifiableList; import static junit.framework.TestCase.assertEquals; import static junit.framework.TestCase.assertTrue;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 14.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.reflect; import static com.google.common.collect.Maps.immutableEntry; import static com.google.common.truth.Truth.assertThat; import static org.junit.Assert.assertThrows; import com.google.common.collect.ImmutableList; import com.google.common.collect.testing.MapTestSuiteBuilder;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 6.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
.expectCollects( ImmutableMultiset.of("a", "a", "b", "c", "c", "c"), Multisets.immutableEntry("a", 1), Multisets.immutableEntry("b", 1), Multisets.immutableEntry("a", 1), Multisets.immutableEntry("c", 3)); } public void testToImmutableMultiset_duplicates() { class TypeWithDuplicates { final int a;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
ImmutableMap<String, Integer> map = new Builder<String, Integer>().put(immutableEntry("one", 1)).buildOrThrow(); assertMapEquals(map, "one", 1); } public void testBuilder_withImmutableEntryAndNullContents() { Builder<String, Integer> builder = new Builder<>(); assertThrows( NullPointerException.class, () -> builder.put(immutableEntry("one", (Integer) null)));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 36.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.collect; import static com.google.common.collect.Maps.immutableEntry; import static com.google.common.truth.Truth.assertThat; import static java.lang.Math.max; import com.google.common.collect.testing.MapTestSuiteBuilder; import com.google.common.collect.testing.TestStringMapGenerator;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 6.7K bytes - Click Count (0)