- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Map1 (0.57 sec)
-
android/guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java
} }); } public void testEquals() { ListMultimap<Integer, String> map1 = ImmutableListMultimap.of(1, "one"); ListMultimap<Integer, String> map2 = ImmutableListMultimap.of(2, "two"); new EqualsTester() .addEqualityGroup(map1, wrap(map1), wrap(map1)) .addEqualityGroup(map2, wrap(map2)) .testEquals(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingMultimapTest.java
} }); } public void testEquals() { Multimap<Integer, String> map1 = ImmutableMultimap.of(1, "one"); Multimap<Integer, String> map2 = ImmutableMultimap.of(2, "two"); new EqualsTester() .addEqualityGroup(map1, wrap(map1), wrap(map1)) .addEqualityGroup(map2, wrap(map2)) .testEquals(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.9K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java
return (Map<K, V>) EMPTY_MAP; } static <K, V> Map<K, V> singletonMap(K key, V value) { return new Map1<>(key, value); } private static class Map1<K, V> extends AbstractImmutableMap<K, V> { private final Entry<K, V> entry; private Map1(K key, V value) { this.entry = new SimpleImmutableEntry<>(key, value); } @Override
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Jul 07 11:47:42 UTC 2025 - 7.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java
} }); } public void testEquals() { NavigableMap<Integer, String> map1 = ImmutableSortedMap.of(1, "one"); NavigableMap<Integer, String> map2 = ImmutableSortedMap.of(2, "two"); new EqualsTester() .addEqualityGroup(map1, wrap(map1), wrap(map1)) .addEqualityGroup(map2, wrap(map2)) .testEquals(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 16 03:23:31 UTC 2025 - 9.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 62.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 65K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
@DisplayName("Test haveCapability with multiple capability flags") void testHaveCapabilityMultipleFlags() { // Arrange int cap1 = 0x00000001; int cap2 = 0x00000002; int cap3 = 0x00000004; when(negotiationResponse.haveCapabilitiy(cap1)).thenReturn(true); when(negotiationResponse.haveCapabilitiy(cap2)).thenReturn(false);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (0) -
src/bytes/buffer_test.go
for i := 0; i < 5<<10; i++ { b.Write(buf) b.Read(buf) if i == 0 { cap0 = b.Cap() } } cap1 := b.Cap() // (*Buffer).grow allows for 2x capacity slop before sliding, // so set our error threshold at 3x. if cap1 > cap0*3 { t.Errorf("buffer cap = %d; too big (grew from %d)", cap1, cap0) } } func BenchmarkWriteByte(b *testing.B) { const n = 4 << 10 b.SetBytes(n)Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 14 19:01:17 UTC 2025 - 19.4K bytes - Viewed (0)