- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 1,396 for putA (0.03 seconds)
-
src/test/java/org/codelibs/core/collection/LruHashMapTest.java
lru.put("aaa", "111"); lru.put("bbb", "222"); lru.put("ccc", "333"); assertThat(lru.get("aaa"), is("111")); Iterator<String> i = lru.keySet().iterator(); assertThat(i.next(), is("bbb")); assertThat(i.next(), is("ccc")); assertThat(i.next(), is("aaa")); lru.put("ddd", "444"); assertThat(lru.size(), is(3));Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/util/BeanMapTest.java
/** * @throws Exception */ @Test public void testGet() throws Exception { final BeanMap map = new BeanMap(); map.put("aaa", 1); map.put("bbb", 2); assertThat(map.get("aaa"), is((Object) 1)); } /** * @throws Exception */ @Test public void testGet_NotContains() throws Exception {Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
Object three = new Object(); Object four = new Object(); Object five = new Object(); map.put(one, two); ticker.advance(1); map.put(two, three); ticker.advance(1); map.put(three, four); assertThat(listener.isEmpty()).isTrue(); ticker.advance(1); map.put(four, five); assertNotified(listener, one, two, RemovalCause.EXPIRED);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 117.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/CollectCollectors.java
Function<? super T, ? extends V> valueFunction) { checkNotNull(keyFunction); checkNotNull(valueFunction); return Collector.of( ImmutableMap.Builder<K, V>::new, (builder, input) -> builder.put(keyFunction.apply(input), valueFunction.apply(input)), ImmutableMap.Builder::combine, ImmutableMap.Builder::buildOrThrow); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/exentity/SearchLog.java
sourceMap.put("searchField", searchFieldMap); final Map<String, List<String>> headerMap = headerList.stream() .collect(Collectors.groupingBy(Pair::getFirst, Collectors.mapping(Pair::getSecond, Collectors.toList()))); sourceMap.put("headers", headerMap); sourceMap.put("documents", documentList); return sourceMap; }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java
buildFailuresByProject.put(getProjectKey(project), new BuildFailure(project, time, error)); } public void registerBuildFailure(MavenProject project, Exception error, String task, Duration time) { buildFailuresByProject.put(getProjectKey(project), new BuildFailure(project, time, error)); } public boolean hasBuildFailures() {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.java
assertFalse(multimap().put(k, v)); assertEquals(expectedValues, values); assertGet(k, expectedValues); } } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO) public void testPutDuplicateValue_null() { initMultimapWithNullValue(); assertFalse(multimap().put(getKeyForNullValue(), null));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.8K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java
void testXmlRoundtripWithProperties() throws Exception { Map<String, String> props = new LinkedHashMap<>(); props.put("javax.version", "3.1.0"); props.put("mockito.version", "1.10.19"); props.put("hamcret.version", "2.1"); props.put("lombok.version", "1.18.6"); props.put("junit.version", "4.12"); Model model = Model.newBuilder(true).properties(props).build(); String xml = toXml(model);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4K bytes - Click Count (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial006.py
mod = importlib.import_module(f"docs_src.body_nested_models.{request.param}") client = TestClient(mod.app) return client def test_put_all(client: TestClient): response = client.put( "/items/123", json={ "name": "Foo", "description": "A very nice Item", "price": 35.4, "tax": 3.2, "tags": ["foo", "bar", "foo"],
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 8.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
.filter(o -> o != null && keySet.add(o.getFirst())) .collect(HashMap<String, List<String>>::new, (m, d) -> m.put(d.getFirst(), Arrays.asList(d.getSecond().split(","))), HashMap::putAll)); } propMap.put(DEFAULT_LABEL_VALUES, map); } return map.entrySet().stream().flatMap(e -> { final String key = e.getKey();
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 88.2K bytes - Click Count (0)