- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 1,369 for put (0.01 sec)
-
guava/src/com/google/common/collect/BiMap.java
* #forcePut} instead. */ @CanIgnoreReturnValue @Override @CheckForNull V put(@ParametricNullness K key, @ParametricNullness V value); /** * An alternate form of {@code put} that silently removes any existing entry with the value {@code * value} before proceeding with the {@link #put} operation. If the bimap previously contained the * provided key-value mapping, this method has no effect. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 4.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java
// this is the plugin we're looking for. validPluginCounts.put(testPluginArtifactId, 0); // these are injected if -DperformRelease=true validPluginCounts.put("maven-deploy-plugin", 0); validPluginCounts.put("maven-javadoc-plugin", 0); validPluginCounts.put("maven-source-plugin", 0); Plugin testPlugin = null;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.2K bytes - Viewed (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial003.py
@pytest.fixture(name="client") def get_client(): from docs_src.body_multiple_params.tutorial003 import app client = TestClient(app) return client def test_post_body_valid(client: TestClient): response = client.put( "/items/5", json={ "importance": 2, "item": {"name": "Foo", "price": 50.5}, "user": {"username": "Dave"}, }, ) assert response.status_code == 200
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 9.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java
ImmutableSortedMap.Builder<String, String> builder = ImmutableSortedMap.naturalOrder(); for (Entry<String, String> entry : entries) { checkNotNull(entry); builder.put(entry.getKey(), entry.getValue()); } return builder.build(); } } public static class ImmutableSortedMapCopyOfEntriesGenerator extends TestStringSortedMapGenerator { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4.6K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java
for (Dependency dep : getDependencies()) { ret.put(dep.getArtifactId(), dep); } return ret; } // ${project.artifactMap(g:a:v)} public void addArtifact(Artifact a) { artifactMap.put(a.getGroupId() + ":" + a.getArtifactId() + ":" + a.getClassifier(), a); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/MapCacheTest.java
mapCache.put("A", "A_value"); mapCache.put("B", "B_value"); mapCache.put("C", "C_value"); assertThat(mapCache.unmodifiableKeySet()).hasSize(3); for (String key : mapCache.unmodifiableKeySet()) { assertThat(mapCache.get(key)).isEqualTo(key + "_value"); } } @Test public void testPutNewValue() { assertThat(mapCache.put("key", "value")).isNull();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 16:23:26 UTC 2021 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java
super(true, true, false); } private Multimap<String, Integer> createMultimap() { Multimap<String, Integer> unfiltered = HashMultimap.create(); unfiltered.put("zero", 55556); unfiltered.put("one", 55556); unfiltered.put("badkey", 1); return Multimaps.filterEntries(unfiltered, PREDICATE); } @Override protected Map<String, Collection<Integer>> makeEmptyMap() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java
childUrlRuleMap.put("//IFRAME", "src"); childUrlRuleMap.put("//IMG", "src"); childUrlRuleMap.put("//LINK", "href"); childUrlRuleMap.put("//SCRIPT", "src"); htmlTransformer.setChildUrlRuleMap(childUrlRuleMap); } public void test_name() { assertEquals("htmlTransformer", htmlTransformer.getName()); } public void test_transform() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/RoleTests.java
final String keyProp = NAME_PREFIX + id; requestBody.put(KEY_PROPERTY, keyProp); return requestBody; } private static final String NEW_SUFFIX = "_new"; @Override protected Map<String, Object> getUpdateMap() { final Map<String, Object> requestBody = new HashMap<>(); requestBody.put(KEY_PROPERTY, NAME_PREFIX + NEW_SUFFIX); return requestBody; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactHashMapTest.java
Map<String, String> map = CompactHashMap.create(); for (Entry<String, String> entry : entries) { map.put(entry.getKey(), entry.getValue()); } return map; } }) .named("CompactHashMap") .withFeatures(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 5.3K bytes - Viewed (0)