- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 374 for setKey (0.04 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
ImmutableSetMultimap.Builder<String, String> builder = ImmutableSetMultimap.builder(); for (Entry<String, String> entry : entries) { builder.put(entry.getKey(), entry.getValue()); } return builder.build(); } } @J2ktIncompatible @AndroidIncompatible // test-suite builders private static final class ImmutableSetMultimapCopyOfEntriesGenerator
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
new TestStringMapGenerator() { @Override protected Map<String, String> create(Entry<String, String>[] entries) { return singletonMap(entries[0].getKey(), entries[0].getValue()); } }) .named("singletonMap") .withFeatures( MapFeature.ALLOWS_NULL_KEYS, MapFeature.ALLOWS_NULL_VALUES,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 21.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
for (Object object : elements) { Entry<Class, Impl> entry = (Entry<Class, Impl>) object; map.putInstance(entry.getKey(), entry.getValue()); } return (Map) map; } }) .named("MutableClassToInstanceMap") .withFeatures(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 18:34:30 UTC 2025 - 4.9K bytes - Viewed (0) -
api/maven-api-model/src/main/mdo/maven.mdo
*/ public void flushPluginMap() { } /** * @return a Map of plugins field with {@code Plugins#getKey()} as key * @see Plugin#getKey() */ public Map<String, Plugin> getPluginsAsMap() { return getPlugins().stream().collect(Collectors.toMap(plugin -> plugin.getKey(), plugin -> plugin)); } ]]> </code> </codeSegment> <codeSegment>
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Aug 07 14:32:16 UTC 2025 - 132.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
assertNull("put(null, null) should return null", put(nullKeyValueEntry)); expectAdded(nullKeyValueEntry); } @CanIgnoreReturnValue private V put(Entry<K, V> entry) { return getMap().put(entry.getKey(), entry.getValue()); } /** * Returns the {@link Method} instance for {@link #testPut_nullKeyUnsupported()} so that tests of * {@link java.util.TreeMap} can suppress it with {@code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 14K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
* that are equal to each other but unequal to the objects in any other group. For example: * * <pre> * new EqualsTester() * .addEqualityGroup(new User("page"), new User("page")) * .addEqualityGroup(new User("sergey")) * .testEquals(); * </pre> * * <p>This tests: * * <ul> * <li>comparing each object against itself returns true * <li>comparing each object against null returns false
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/MemoryUtil.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
Map.Entry<E, Integer> mapEntry = backingEntries.next(); return new Multisets.AbstractEntry<E>() { @Override public E getElement() { return mapEntry.getKey(); } @Override public int getCount() { Integer frequency = backingMap.get(getElement()); return (frequency == null) ? 0 : frequency;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcBinding.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5K bytes - Viewed (0)