Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 127 for avantages (0.37 seconds)

  1. guava/src/com/google/common/collect/Maps.java

       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code HashMap} constructor directly, taking advantage of <a
       * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond"
       * syntax</a>.
       *
       * @return a new, empty {@code HashMap}
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  2. docs/uk/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...або у старих кодових базах ви знайдете:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    ### Переваги використання `Annotated` { #advantages-of-annotated }
    
    Використання `Annotated` є рекомендованим замість задання значення за замовчуванням у параметрах функції, оскільки воно краще з кількох причин. 🤓
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 25.9K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/custom-response.md

    ```json
    {"message": "Hello World"}
    ```
    
    ...this response will return:
    
    ```json
    {
      "message": "Hello World"
    }
    ```
    
    Of course, you will probably find much better ways to take advantage of this than formatting JSON. 😉
    
    ### `orjson` or Response Model { #orjson-or-response-model }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/CollectSpliterators.java

        }
      }
    
      /**
       * Implementation of {@link Stream#flatMap} with an object spliterator output type.
       *
       * <p>To avoid having this type, we could use {@code FlatMapSpliterator} directly. The main
       * advantages to having the type are the ability to use its constructor reference below and the
       * parallelism with the primitive version. In short, it makes its caller ({@code flatMap})
       * simpler.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  5. docs/pt/docs/python-types.md

    O **FastAPI** é todo baseado nesses type hints, eles oferecem muitas vantagens e benefícios.
    
    Mas mesmo que você nunca use o **FastAPI**, você se beneficiaria de aprender um pouco sobre eles.
    
    /// note | Nota
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  6. docs/tr/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...veya eski kod tabanlarında şuna rastlarsınız:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    ### `Annotated`’ın avantajları { #advantages-of-annotated }
    
    Fonksiyon parametrelerindeki varsayılan değer stiline göre **`Annotated` kullanmanız önerilir**; birden fazla nedenle **daha iyidir**. 🤓
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 17.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/CharStreams.java

       */
      @CanIgnoreReturnValue
      public static long copy(Readable from, Appendable to) throws IOException {
        // The most common case is that from is a Reader (like InputStreamReader or StringReader) so
        // take advantage of that.
        if (from instanceof Reader) {
          // optimize for common output types which are optimized to deal with char[]
          if (to instanceof StringBuilder) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 13:56:24 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  8. docs/ru/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    ...или в старой кодовой базе вы увидите:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    ### Преимущества `Annotated` { #advantages-of-annotated }
    
    **Рекомендуется использовать `Annotated`** вместо задания значения по умолчанию в параметрах функции — так **лучше** по нескольким причинам. 🤓
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 25.1K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/tutorial/query-params-str-validations.md

    因此,你可以(且更推薦)這樣寫:
    
    ```Python
    q: Annotated[str, Query()] = "rick"
    ```
    
    …或在較舊的程式碼中你會看到:
    
    ```Python
    q: str = Query(default="rick")
    ```
    
    ### `Annotated` 的優點 { #advantages-of-annotated }
    
    建議使用 `Annotated`,而不是在函式參數上使用(舊式的)預設值寫法,理由很多,且更好。🤓
    
    函式參數的「預設值」就是「實際的預設值」,這在 Python 的直覺上更一致。😌
    
    你也可以在沒有 FastAPI 的其他地方「直接呼叫」同一個函式,而且能「如預期」運作。若有「必填」參數(沒有預設值),你的「編輯器」會提示錯誤,「Python」在執行時也會抱怨你未傳遞必填參數。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ImmutableCollection.java

     * appropriate {@code copyOf} method itself.
     *
     * <p>Expressing the immutability guarantee directly in the type that user code references is a
     * powerful advantage. Although Java offers certain immutable collection factory methods, such as
     * {@link Collections#singleton(Object)} and <a
     * href="https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/util/Set.html#unmodifiable">{@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 18.7K bytes
    - Click Count (0)
Back to Top