- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 523 for putAll (0.09 sec)
-
guava/src/com/google/common/cache/Cache.java
* {@code k} to value {@code v} in the specified map. The behavior of this operation is undefined * if the specified map is modified while the operation is in progress. * * @since 12.0 */ void putAll(Map<? extends K, ? extends V> m); /** Discards any cached value for key {@code key}. */ void invalidate(@CompatibleWith("K") Object key); /** * Discards any cached values for keys {@code keys}. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Aug 07 02:38:22 UTC 2022 - 7.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
if (supportsPut) { int initialSize = map.size(); map.putAll(mapToPut); assertEquals(valueToPut, map.get(keyToPut)); assertTrue(map.containsKey(keyToPut)); assertTrue(map.containsValue(valueToPut)); assertEquals(initialSize + 1, map.size()); } else { assertThrows(UnsupportedOperationException.class, () -> map.putAll(mapToPut)); } assertInvariants(map); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.8K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmServlet.java
private CIFSContext transportContext; @Override public void init ( ServletConfig config ) throws ServletException { super.init(config); Properties p = new Properties(); p.putAll(System.getProperties()); /* * Set jcifs properties we know we want; soTimeout and cachePolicy to 10min. */ p.setProperty("jcifs.smb.client.soTimeout", "300000");
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/SortedSetMultimap.java
* Changes to the returned map, such as element removal, will update the underlying multimap. The * map does not support {@code setValue()} on its entries, {@code put}, or {@code putAll}. * * <p>When passed a key that is present in the map, {@code asMap().get(Object)} has the same * behavior as {@link #get}, returning a live collection. When passed a key that is not present,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 24 17:47:51 UTC 2022 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
Object two = new Object(); Object three = new Object(); ConcurrentMap<Object, Object> map = cache.asMap(); assertNull(map.put(one, two)); assertSame(two, map.get(one)); map.putAll(ImmutableMap.of(two, three)); assertSame(three, map.get(two)); assertSame(two, map.putIfAbsent(one, three)); assertSame(two, map.get(one)); assertNull(map.putIfAbsent(three, one));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
Object two = new Object(); Object three = new Object(); ConcurrentMap<Object, Object> map = cache.asMap(); assertNull(map.put(one, two)); assertSame(two, map.get(one)); map.putAll(ImmutableMap.of(two, three)); assertSame(three, map.get(two)); assertSame(two, map.putIfAbsent(one, three)); assertSame(two, map.get(one)); assertNull(map.putIfAbsent(three, one));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java
factory.setInitParameterMap(paramMap); final Map<String, String> clientConfigMap = getConfigParameterMap(ConfigName.CLIENT); if (clientConfigMap != null) { paramMap.putAll(clientConfigMap); } // robots txt enabled if (paramMap.get(Param.Client.ROBOTS_TXT_ENABLED) == null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
Properties profileProps = new Properties(); for (Profile profile : activeExternalProfiles) { profileProps.putAll(profile.getProperties()); } profileProps.putAll(profileActivationContext.getUserProperties()); profileActivationContext.setUserProperties(profileProps); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 83.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
* * @throws NullPointerException if any key or value in {@code map} is null */ @CanIgnoreReturnValue @Override public Builder<K, V> putAll(Map<? extends K, ? extends V> map) { super.putAll(map); return this; } /** * Adds all the given entries to the built map. Duplicate keys, according to the comparator
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/FileConfig.java
factory.setInitParameterMap(paramMap); final Map<String, String> clientConfigMap = getConfigParameterMap(ConfigName.CLIENT); if (clientConfigMap != null) { paramMap.putAll(clientConfigMap); } // auth params final List<FileAuthentication> fileAuthList = fileAuthenticationService.getFileAuthenticationList(getId());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.8K bytes - Viewed (0)