- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 491 for putAll (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction()); assertThrows(UnsupportedOperationException.class, () -> map.put("b", "2")); assertThrows(UnsupportedOperationException.class, () -> map.putAll(ImmutableMap.of("b", "2"))); assertThrows( UnsupportedOperationException.class, () -> map.entrySet().iterator().next().setValue("one")); } public void testTransformRemoveEntry() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/exentity/FavoriteLog.java
return getCreatedAt(); } @Override public Map<String, Object> toSource() { final Map<String, Object> sourceMap = super.toSource(); if (fields != null) { sourceMap.putAll(fields); } return sourceMap; } @Override protected void addFieldToSource(final Map<String, Object> sourceMap, final String field, final Object value) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 2.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
transformValues(ImmutableMap.of("a", 1), Functions.toStringFunction()); assertThrows(UnsupportedOperationException.class, () -> map.put("b", "2")); assertThrows(UnsupportedOperationException.class, () -> map.putAll(ImmutableMap.of("b", "2"))); assertThrows( UnsupportedOperationException.class, () -> map.entrySet().iterator().next().setValue("one")); } public void testTransformRemoveEntry() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java
var v = callback.apply(s); return v != null ? v : configProps.getProperty(s); }); configProps.putAll(props); } } while (location != null); } } configProps.remove(INCLUDES_PROPERTY); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 6.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/exentity/SearchLog.java
} @Override public Map<String, Object> toSource() { final Map<String, Object> sourceMap = super.toSource(); if (fields != null) { sourceMap.putAll(fields); } final Map<String, List<String>> searchFieldMap = searchFieldLogList.stream() .collect(Collectors.groupingBy(Pair::getFirst, Collectors.mapping(Pair::getSecond, Collectors.toList())));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/HashBasedTable.java
* null */ public static <R, C, V> HashBasedTable<R, C, V> create( Table<? extends R, ? extends C, ? extends V> table) { HashBasedTable<R, C, V> result = create(); result.putAll(table); return result; } private HashBasedTable(Map<R, Map<C, V>> backingMap, Factory<C, V> factory) { super(backingMap, factory); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 4.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/HashBasedTable.java
* null */ public static <R, C, V> HashBasedTable<R, C, V> create( Table<? extends R, ? extends C, ? extends V> table) { HashBasedTable<R, C, V> result = create(); result.putAll(table); return result; } private HashBasedTable(Map<R, Map<C, V>> backingMap, Factory<C, V> factory) { super(backingMap, factory); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java
*/ @Test public void testPutAll() throws Exception { final Map<String, String> m = new HashMap<String, String>(); m.put("three", "3"); m.put("four", "4"); map.putAll(m); assertThat(map.get("THREE"), is("3")); assertThat(map.get("FOUR"), is("4")); assertThat(map.size(), is(4)); } /** * @throws Exception */ @TestCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 4K bytes - Click Count (0) -
guava/src/com/google/common/collect/EnumHashBiMap.java
*/ public static <K extends Enum<K>, V extends @Nullable Object> EnumHashBiMap<K, V> create( Map<K, ? extends V> map) { EnumHashBiMap<K, V> bimap = create(EnumBiMap.inferKeyTypeOrObjectUnderJ2cl(map)); bimap.putAll(map); return bimap; } private EnumHashBiMap(Class<K> keyType) { super(new EnumMap<K, V>(keyType), new HashMap<V, K>()); // TODO: cpovirk - Pre-size the HashMap based on the number of enum values?
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 15:50:50 GMT 2025 - 5.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java
} // add a follow-up plan to this one public void then(BuildPlan step) { step.plan.forEach((k, v) -> plan.merge(k, v, this::merge)); aliases.putAll(step.aliases); } private Map<String, BuildStep> merge(Map<String, BuildStep> org, Map<String, BuildStep> add) { // all new phases should be added after the existing ones List<BuildStep> lasts =Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 28 12:11:25 GMT 2025 - 6.1K bytes - Click Count (0)