- Sort Score
- Num 10 results
- Language All
Results 521 - 530 of 623 for iterables (0.06 seconds)
-
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
return new SampleElements<>(1, 4, 3, 2, 5); } @Override public Integer[] createArray(int length) { return new Integer[length]; } @Override public Iterable<Integer> order(List<Integer> insertionOrder) { return Ordering.natural().sortedCopy(insertionOrder); } @Override public Set<Integer> create(Object... elements) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 21.7K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java
this.repositories = remoteRepositoryManager.aggregateRepositories(session, repositories, newRepositories, true); } private static void removeMatchingRepository(Iterable<RemoteRepository> repositories, final String id) { Iterator<RemoteRepository> iterator = repositories.iterator(); while (iterator.hasNext()) { RemoteRepository remoteRepository = iterator.next();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Apr 14 13:42:17 GMT 2025 - 10.8K bytes - Click Count (0) -
docs/ko/docs/tutorial/server-sent-events.md
/// ### 비 async *경로 처리 함수* { #non-async-path-operation-functions } `async`가 없는 일반 `def` 함수도 사용할 수 있으며, 동일하게 `yield`를 사용할 수 있습니다. FastAPI가 이벤트 루프를 막지 않도록 올바르게 실행을 보장합니다. 이 경우 함수가 async가 아니므로 적절한 반환 타입은 `Iterable[Item]`입니다: {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[28:31] hl[29] *} ### 반환 타입 없음 { #no-return-type } 반환 타입을 생략할 수도 있습니다. FastAPI는 [`jsonable_encoder`](./encoder.md)를 사용해 데이터를 변환하고 전송합니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:56:39 GMT 2026 - 5.3K bytes - Click Count (0) -
docs/en/docs/tutorial/query-params-str-validations.md
#### A Random Item { #a-random-item } With `data.items()` we get an <dfn title="Something we can iterate on with a for loop, like a list, set, etc.">iterable object</dfn> with tuples containing the key and value for each dictionary item. We convert this iterable object into a proper `list` with `list(data.items())`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 16.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java
} @MapFeature.Require(SUPPORTS_PUT) public void testPutAll_nullCollectionReference() { assertThrows(NullPointerException.class, () -> getMap().putAll(null)); } private void putAll(Iterable<Entry<K, V>> entries) { Map<K, V> map = new LinkedHashMap<>(); for (Entry<K, V> entry : entries) { map.put(entry.getKey(), entry.getValue()); } getMap().putAll(map); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java
public NavigableMap<K, V> create(Object... entries) { NavigableMap<K, V> map = (NavigableMap<K, V>) delegate.create(entries); return map.descendingMap(); } @Override public Iterable<Entry<K, V>> order(List<Entry<K, V>> insertionOrder) { insertionOrder = castOrCopyToList(delegate.order(insertionOrder)); reverse(insertionOrder); return insertionOrder; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 7K bytes - Click Count (0) -
docs/de/docs/tutorial/stream-json-lines.md
FastAPI stellt sicher, dass sie korrekt ausgeführt werden, sodass der Event Loop nicht blockiert wird. Da die Funktion in diesem Fall nicht async ist, wäre der richtige Rückgabetyp `Iterable[Item]`: {* ../../docs_src/stream_json_lines/tutorial001_py310.py ln[27:30] hl[28] *} ### Kein Rückgabetyp { #no-return-type }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:48:21 GMT 2026 - 4.9K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/server-sent-events.md
/// ### 非 async 的路徑操作函式 { #non-async-path-operation-functions } 你也可以使用一般的 `def` 函式(沒有 `async`),並同樣使用 `yield`。 FastAPI 會確保正確執行,不會阻塞事件迴圈。 由於此函式不是 async,正確的回傳型別是 `Iterable[Item]`: {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[28:31] hl[29] *} ### 無回傳型別 { #no-return-type } 你也可以省略回傳型別。FastAPI 會使用 [`jsonable_encoder`](./encoder.md) 轉換資料並送出。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:33:04 GMT 2026 - 4.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Optional.java
* * <p><b>Java 9 users:</b> use {@code optionals.stream().flatMap(Optional::stream)} instead. * * @since 11.0 (generics widened in 13.0) */ public static <T> Iterable<T> presentInstances( Iterable<? extends Optional<? extends T>> optionals) { checkNotNull(optionals); return () -> new AbstractIterator<T>() { private final Iterator<? extends Optional<? extends T>> iterator =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingList.java
* wish to override {@link #addAll(int, Collection)} to forward to this implementation. * * @since 7.0 */ protected boolean standardAddAll(int index, Iterable<? extends E> elements) { return Lists.addAllImpl(this, index, elements); } /** * A sensible default implementation of {@link #indexOf}, in terms of {@link #listIterator()}. IfCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 7.8K bytes - Click Count (0)