- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 32 for newLinkedHashMap (0.23 sec)
-
guava/src/com/google/common/collect/Platform.java
* for insertions. */ static <K extends @Nullable Object, V extends @Nullable Object> Map<K, V> preservesInsertionOrderOnPutsMap() { return Maps.newLinkedHashMap(); } /** * Returns the platform preferred map implementation that preserves insertion order when used only * for insertions, with a hint for how many entries to expect. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:52:51 UTC 2024 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
* differ: <? extends Object> means "non-null types," while <?> means "all types." */ @Override public ImmutableMap<K, V> getAllPresent(Iterable<? extends Object> keys) { Map<K, V> result = Maps.newLinkedHashMap(); for (Object key : keys) { if (!result.containsKey(key)) { @SuppressWarnings("unchecked") K castKey = (K) key; V value = getIfPresent(key); if (value != null) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
} public static class ImmutableMapCopyOfGenerator extends TestStringMapGenerator { @Override protected Map<String, String> create(Entry<String, String>[] entries) { Map<String, String> builder = Maps.newLinkedHashMap(); for (Entry<String, String> entry : entries) { builder.put(entry.getKey(), entry.getValue()); } return ImmutableMap.copyOf(builder); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
/** * Returns the platform preferred map implementation that preserves insertion order when used only * for insertions. */ static <K, V> Map<K, V> preservesInsertionOrderOnPutsMap() { return Maps.newLinkedHashMap(); } /** * Returns the platform preferred map implementation that preserves insertion order when used only * for insertions, with a hint for how many entries to expect. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:52:51 UTC 2024 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
underlying.clear(); assertEquals(underlying.size(), map.size()); } public void testTransformChangesAreReflectedInUnderlyingMap() { Map<String, Integer> underlying = Maps.newLinkedHashMap(); underlying.put("a", 1); underlying.put("b", 2); underlying.put("c", 3); underlying.put("d", 4); underlying.put("e", 5); underlying.put("f", 6); underlying.put("g", 7);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
* governing permissions and limitations under the License. */ package org.codelibs.core.beans.util; import static org.codelibs.core.collection.CollectionsUtil.newLinkedHashMap; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.util.Map; import java.util.Map.Entry; import java.util.function.Consumer; import org.codelibs.core.beans.BeanDesc;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.5K bytes - Viewed (0) -
.idea/inspectionProfiles/Gradle.xml
</replaceConfiguration> <replaceConfiguration name="Treat some Guava Collection factory methods as Deprecated" uuid="82f9f9ab-9c3b-367f-99ad-40841dc13819" text="com.google.common.collect.Maps.newLinkedHashMap()" recursive="false" caseInsensitive="false" type="JAVA" pattern_context="default" reformatAccordingToStyle="true" shortenFQN="true" replacement="new java.util.LinkedHashMap<>()">
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jun 26 21:49:47 UTC 2024 - 15.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
return Maps.newHashMap(map); } }, LinkedHashMapImpl { @Override public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) { return Maps.newLinkedHashMap(map); } }, ConcurrentHashMapImpl { @Override public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) { return new ConcurrentHashMap<>(map); } },
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 12.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
underlying.clear(); assertEquals(underlying.size(), map.size()); } public void testTransformChangesAreReflectedInUnderlyingMap() { Map<String, Integer> underlying = Maps.newLinkedHashMap(); underlying.put("a", 1); underlying.put("b", 2); underlying.put("c", 3); underlying.put("d", 4); underlying.put("e", 5); underlying.put("f", 6); underlying.put("g", 7);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9.4K bytes - Viewed (0) -
guava/src/com/google/common/cache/AbstractCache.java
* differ: <? extends Object> means "non-null types," while <?> means "all types." */ @Override public ImmutableMap<K, V> getAllPresent(Iterable<? extends Object> keys) { Map<K, V> result = Maps.newLinkedHashMap(); for (Object key : keys) { if (!result.containsKey(key)) { @SuppressWarnings("unchecked") K castKey = (K) key; V value = getIfPresent(key); if (value != null) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 9.1K bytes - Viewed (0)