- Sort Score
- Num 10 results
- Language All
Results 191 - 200 of 896 for key6 (0.02 seconds)
-
android/guava/src/com/google/common/collect/CompactHashMap.java
int[] entries = requireEntries(); @Nullable Object[] keys = requireKeys(); @Nullable Object[] values = requireValues(); int srcIndex = size() - 1; if (dstIndex < srcIndex) { // move last entry to deleted spot Object key = keys[srcIndex]; keys[dstIndex] = key; values[dstIndex] = values[srcIndex]; keys[srcIndex] = null; values[srcIndex] = null;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 35.7K bytes - Click Count (0) -
.github/workflows/maven.yml
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 1.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Splitter.java
checkArgument(entryFields.hasNext(), INVALID_ENTRY_MESSAGE, entry); String key = entryFields.next(); checkArgument(!map.containsKey(key), "Duplicate key [%s] found.", key); checkArgument(entryFields.hasNext(), INVALID_ENTRY_MESSAGE, entry); String value = entryFields.next(); map.put(key, value); checkArgument(!entryFields.hasNext(), INVALID_ENTRY_MESSAGE, entry); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingMap.java
} @CanIgnoreReturnValue @Override public @Nullable V remove(@Nullable Object key) { return delegate().remove(key); } @Override public void clear() { delegate().clear(); } @Override public boolean containsKey(@Nullable Object key) { return delegate().containsKey(key); } @Override public boolean containsValue(@Nullable Object value) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 9.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
builder.put("key", "value"); assertThat(builder.build().entries()).containsExactly(Maps.immutableEntry("key", "value")); } public void testBuilderWithExpectedKeysPositive() { ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builderWithExpectedKeys(1); builder.put("key", "value");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.2K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
} @Override public @Nullable String put(String key, String value) { checkNotNull(key); return map.put(key, value); } }; } }, "HashMap w/out null keys", ALLOWS_NULL_VALUES); } private static Test testsForHashMapNullValuesForbidden() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 11.6K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
} @Override public @Nullable String put(String key, String value) { checkNotNull(key); return map.put(key, value); } }; } }, "HashMap w/out null keys", ALLOWS_NULL_VALUES); } private static Test testsForHashMapNullValuesForbidden() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 11.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
ImmutableSetMultimap.builderWithExpectedKeys(0); builder.put("key", "value"); assertThat(builder.build().entries()).containsExactly(Maps.immutableEntry("key", "value")); } public void testBuilderWithExpectedKeysPositive() { ImmutableSetMultimap.Builder<String, String> builder = ImmutableSetMultimap.builderWithExpectedKeys(1); builder.put("key", "value");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 28.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java
/** * {@code ObjectCountLinkedHashMap} is a subclass of {@code ObjectCountHashMap} with insertion * iteration order, and uses arrays to store key objects and count values. Comparing to using a * traditional {@code LinkedHashMap} implementation which stores keys and count values as map * entries, {@code ObjectCountLinkedHashMap} minimizes object allocation and reduces memory * footprint. */ @GwtCompatible @NullMarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 5.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
CacheBuilder.newBuilder().maximumSize(0).removalListener(listener).build(identityLoader()); assertThat(nullCache.size()).isEqualTo(0); Object key = new Object(); assertThat(nullCache.getUnchecked(key)).isSameInstanceAs(key); assertThat(listener.getCount()).isEqualTo(1); assertThat(nullCache.size()).isEqualTo(0); CacheTesting.checkEmpty(nullCache.asMap()); } @J2ktIncompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0)