- Sort Score
- Result 10 results
- Languages All
Results 1151 - 1160 of 1,563 for examples (0.2 sec)
-
guava/src/com/google/common/collect/AbstractIterator.java
* ordinarily difficult to write iterators for. But using this class, one must implement only the * {@link #computeNext} method, and invoke the {@link #endOfData} method when appropriate. * * <p>Another example is an iterator that skips over null elements in a backing iterator. This could * be implemented as: * * <pre>{@code * public static Iterator<String> skipNulls(final Iterator<String> in) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Mar 18 02:04:10 UTC 2022 - 6.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
* * <p>If {@code keys} is a {@link Set}, a live view can be obtained instead of a copy using {@link * Maps#asMap(Set, Function)}. * * <p><b>Note:</b> on Java 8+, it is usually better to use streams. For example: * * <pre>{@code * import static com.google.common.collect.ImmutableMap.toImmutableMap; * ... * ImmutableMap<Color, String> colorNames =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 161.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
* * <p>If {@code keys} is a {@link Set}, a live view can be obtained instead of a copy using {@link * Maps#asMap(Set, Function)}. * * <p><b>Note:</b> on Java 8+, it is usually better to use streams. For example: * * <pre>{@code * import static com.google.common.collect.ImmutableMap.toImmutableMap; * ... * ImmutableMap<Color, String> colorNames =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 167.4K bytes - Viewed (0) -
docs/em/docs/advanced/openapi-callbacks.md
## 🔬 ⏲ ☑ ⏲ 📟 🔜 🪀 🙇 🔛 👆 👍 🛠️ 📱. & ⚫️ 🔜 🎲 🪀 📚 ⚪️➡️ 1️⃣ 📱 ⏭. ⚫️ 💪 1️⃣ ⚖️ 2️⃣ ⏸ 📟, 💖: ```Python callback_url = "https://example.com/api/v1/invoices/events/" httpx.post(callback_url, json={"description": "Invoice paid", "paid": True}) ``` ✋️ 🎲 🏆 ⚠ 🍕 ⏲ ⚒ 💭 👈 👆 🛠️ 👩💻 (🔢 👩💻) 🛠️ *🔢 🛠️* ☑, 🛄 💽 👈 *👆 🛠️* 🔜 📨 📨 💪 ⏲, ♒️.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.6K bytes - Viewed (0) -
docs/en/docs/tutorial/security/get-current-user.md
Just use any kind of model, any kind of class, any kind of database that you need for your application. **FastAPI** has you covered with the dependency injection system. ## Code size This example might seem verbose. Keep in mind that we are mixing security, data models, utility functions and *path operations* in the same file. But here's the key point. The security and dependency injection stuff is written once.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.4K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005_an_py310.py
) assert response.status_code == 200, response.text assert response.json() == { "username": "johndoe", "full_name": "John Doe", "email": "johndoe@example.com", "disabled": False, } @needs_py310 def test_incorrect_token(client: TestClient): response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 16.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * An immutable builder for {@link Multimap} instances, letting you independently select the desired * behaviors (for example, ordering) of the backing map and value-collections. Example: * * <pre>{@code * ListMultimap<UserId, ErrorResponse> errorsByUser = * MultimapBuilder.linkedHashKeys().arrayListValues().build(); * SortedSetMultimap<String, Method> methodsForName =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 17.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Bytes.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 27 16:47:48 UTC 2024 - 15.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/dependencies/sub-dependencies.md
Mas ainda assim, é bastante poderoso, e permite que você declare grafos (árvores) de dependências com uma profundidade arbitrária. /// tip | "Dica" Tudo isso pode não parecer muito útil com esses exemplos. Mas você verá o quão útil isso é nos capítulos sobre **segurança**. E você também verá a quantidade de código que você não precisara escrever.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CharMatcherTest.java
doTestTrimFrom("x--x", "x--x"); doTestTrimFrom("x-x-", "x-x"); doTestTrimFrom("x-xx", "x-xx"); doTestTrimFrom("x-x--xx---x----x", "x-x--xx---x----x"); // additional testing using the doc example assertEquals("cat", anyOf("ab").trimFrom("abacatbab")); } private void doTestTrimFrom(String in, String out) { // Try a few different matchers which all match '-' and not 'x'
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 18:32:41 UTC 2024 - 30.1K bytes - Viewed (0)