- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 1,324 for iteration (0.11 sec)
-
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilter.java
this.filters = new LinkedHashSet<>(filters); } public boolean include(Artifact artifact) { boolean include = true; for (Iterator<ArtifactFilter> i = filters.iterator(); i.hasNext() && include; ) { ArtifactFilter filter = i.next(); if (!filter.include(artifact)) { include = false; } } return include;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
return frequency; } @Override Iterator<E> elementIterator() { return Multisets.elementIterator(entryIterator()); } @Override Iterator<Entry<E>> entryIterator() { final Iterator<Map.Entry<E, Integer>> backingEntries = backingMap.entrySet().iterator(); return new UnmodifiableIterator<Multiset.Entry<E>>() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
return; } Set<Entry<K, V>> entrySet = map.entrySet(); Iterator<Entry<K, V>> iterator = entrySet.iterator(); if (supportsIteratorRemove) { int initialSize = map.size(); Entry<K, V> entry = iterator.next(); Entry<K, V> entryCopy = mapEntry(entry.getKey(), entry.getValue()); iterator.remove(); assertEquals(initialSize - 1, map.size());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.8K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/global-dependencies.md
# Global Dependencies For some types of applications you might want to add dependencies to the whole application. Similar to the way you can [add `dependencies` to the *path operation decorators*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank}, you can add them to the `FastAPI` application. In that case, they will be applied to all the *path operations* in the application: //// tab | Python 3.9+ ```Python hl_lines="16"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.4K bytes - Viewed (0) -
docs/fa/docs/tutorial/middleware.md
"میانافزار" یک تابع است که با هر درخواست(request) قبل از پردازش توسط هر path operation (عملیات مسیر) خاص کار میکند. همچنین با هر پاسخ(response) قبل از بازگشت آن نیز کار میکند. * هر **درخواستی (request)** که به برنامه شما می آید را می گیرد. * سپس می تواند کاری برای آن **درخواست** انجام دهید یا هر کد مورد نیازتان را اجرا کنید. * سپس **درخواست** را به بخش دیگری از برنامه (توسط یک path operation مشخص) برای پردازش ارسال می کند.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMultimap.java
checkNotNull(values); // make sure we only call values.iterator() once // and we only call get(key) if values is nonempty if (values instanceof Collection) { Collection<? extends V> valueCollection = (Collection<? extends V>) values; return !valueCollection.isEmpty() && get(key).addAll(valueCollection); } else { Iterator<? extends V> valueItr = values.iterator();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 21:08:00 UTC 2021 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/SingleValueIterator.java
*/ package org.codelibs.core.collection; import java.util.Iterator; import java.util.NoSuchElementException; import org.codelibs.core.exception.ClUnsupportedOperationException; /** * 一つの値を返す{@link Iterator}です。 * * @author koichik * @param <E> * 要素の型 */ public class SingleValueIterator<E> implements Iterator<E> { /** 反復子が返す唯一の値 */ protected final E value;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/GroupRepositoryMetadata.java
} public void addPluginMapping(String goalPrefix, String artifactId, String name) { List<Plugin> plugins = getMetadata().getPlugins(); boolean found = false; for (Iterator<Plugin> i = plugins.iterator(); i.hasNext() && !found; ) { Plugin plugin = i.next(); if (plugin.getPrefix().equals(goalPrefix)) { found = true; } } if (!found) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
docs/ja/docs/advanced/custom-response.md
しかし、`Response` を直接返すと、データは自動的に変換されず、ドキュメントも自動生成されません (例えば、生成されるOpenAPIの一部としてHTTPヘッダー `Content-Type` に特定の「メディアタイプ」を含めるなど) 。 しかし、*path operationデコレータ* に、使いたい `Response` を宣言することもできます。 *path operation関数* から返されるコンテンツは、その `Response` に含まれます。 そしてもし、`Response` が、`JSONResponse` や `UJSONResponse` の場合のようにJSONメディアタイプ (`application/json`) ならば、データは *path operationデコレータ* に宣言したPydantic `response_model` により自動的に変換 (もしくはフィルタ) されます。 /// note | "備考"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
} public void testCopyOf_iterator_general() { Iterator<String> iterator = asList("a", "b", "a").iterator(); Multiset<String> multiset = ImmutableSortedMultiset.copyOf(iterator); assertEquals(HashMultiset.create(asList("a", "b", "a")), multiset); } public void testCopyOf_iteratorContainingNull() { Iterator<String> iterator = asList("a", null, "b").iterator();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.7K bytes - Viewed (0)