- Sort Score
- Num 10 results
- Language All
Results 401 - 410 of 791 for puts (0.22 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java
public void testEquals() { resetContainer(mapEntry(k0(), v0()), mapEntry(k1(), v0()), mapEntry(k0(), v3())); Map<K, Collection<V>> expected = new HashMap<>(); expected.put(k0(), newHashSet(v0(), v3())); expected.put(k1(), newHashSet(v0())); new EqualsTester().addEqualityGroup(expected, multimap().asMap()).testEquals(); } @CollectionSize.Require(SEVERAL) public void testEntrySetEquals() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
assertTrue(Thread.holdsLock(mutex)); return delegate.get(rowKey, columnKey); } @Override public @Nullable V put(R rowKey, C columnKey, V value) { assertTrue(Thread.holdsLock(mutex)); return delegate.put(rowKey, columnKey, value); } @Override public void putAll(Table<? extends R, ? extends C, ? extends V> table) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 4.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java
map.put(key, properties.getProperty(key)); } return map; } @Nonnull public static Properties toProperties(Map<String, String> properties) { requireNonNull(properties, "properties"); Properties map = new Properties(); for (String key : properties.keySet()) { map.put(key, properties.get(key)); } return map;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 13 18:30:29 GMT 2025 - 5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
import java.util.Objects; import java.util.Set; import org.jspecify.annotations.Nullable; /** * CompactHashMap is an implementation of a Map. All optional operations (put and remove) are * supported. Null keys and values are supported. * * <p>{@code containsKey(k)}, {@code put(k, v)} and {@code remove(k)} are all (expected and * amortized) constant time operations. Expected in the hashtable sense (depends on the hash
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) -
docs_src/schema_extra_example/tutorial002_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 479 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/ApiResult.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 25.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multimaps.java
* FIRST_LETTER_MULTIMAP = MultimapBuilder.treeKeys().arrayListValues().build(); * FIRST_LETTER_MULTIMAP.put('b', "anana"); * FIRST_LETTER_MULTIMAP.put('a', "pple"); * FIRST_LETTER_MULTIMAP.put('a', "sparagus"); * FIRST_LETTER_MULTIMAP.put('c', "arrot"); * FIRST_LETTER_MULTIMAP.put('c', "herry"); * } * } * * <p>To collect to an {@link ImmutableMultimap}, use either {@link
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 86K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multimaps.java
* FIRST_LETTER_MULTIMAP = MultimapBuilder.treeKeys().arrayListValues().build(); * FIRST_LETTER_MULTIMAP.put('b', "anana"); * FIRST_LETTER_MULTIMAP.put('a', "pple"); * FIRST_LETTER_MULTIMAP.put('a', "sparagus"); * FIRST_LETTER_MULTIMAP.put('c', "arrot"); * FIRST_LETTER_MULTIMAP.put('c', "herry"); * } * } * * <p>To collect to an {@link ImmutableMultimap}, use either {@link
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 86.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
assertCollectionIsUnmodifiable(multimap.get(key), sampleValue); assertMultimapRemainsUnmodified(multimap, originalEntries); } // Test #put() try { multimap.put(sampleKey, sampleValue); fail("put succeeded on unmodifiable multimap"); } catch (UnsupportedOperationException expected) { } assertMultimapRemainsUnmodified(multimap, originalEntries);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 14.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
new ImmutableTable.Builder<String, SecretKey, HashFunction>() .put("HmacMD5", MD5_KEY, hmacMd5(MD5_KEY)) .put("HmacSHA1", SHA1_KEY, hmacSha1(SHA1_KEY)) .put("HmacSHA256", SHA256_KEY, hmacSha256(SHA256_KEY)) .put("HmacSHA512", SHA512_KEY, hmacSha512(SHA512_KEY)) .buildOrThrow(); public void testNulls() { NullPointerTester tester =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 14.2K bytes - Click Count (0)