Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for generics (0.04 sec)

  1. docs/en/docs/python-types.md

    And then you won't have to worry about names like `Optional` and `Union`. 😎
    
    #### Generic types { #generic-types }
    
    These types that take type parameters in square brackets are called **Generic types** or **Generics**, for example:
    
    //// tab | Python 3.10+
    
    You can use the same builtin types as generics (with square brackets and types inside):
    
    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  2. docs/ru/docs/python-types.md

    И тогда вам не придётся задумываться о названиях вроде `Optional` и `Union`. 😎
    
    #### Generic-типы { #generic-types }
    
    Типы, которые принимают параметры типов в квадратных скобках, называются **Generic-типами** или **Generics**, например:
    
    //// tab | Python 3.10+
    
    Вы можете использовать те же встроенные типы как generics (с квадратными скобками и типами внутри):
    
    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  3. docs/de/docs/python-types.md

    Und dann müssen Sie sich nicht mehr um Namen wie `Optional` und `Union` kümmern. 😎
    
    #### Generische Typen { #generic-types }
    
    Diese Typen, die Typ-Parameter in eckigen Klammern akzeptieren, werden **generische Typen** oder **Generics** genannt.
    
    //// tab | Python 3.10+
    
    Sie können die eingebauten Typen als Generics verwenden (mit eckigen Klammern und Typen darin):
    
    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.9K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/collect/TreeMultiset.java

       *
       * <p>The type specification is {@code <E extends Comparable>}, instead of the more specific
       * {@code <E extends Comparable<? super E>>}, to support classes defined without generics.
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <E extends Comparable> TreeMultiset<E> create() {
        return new TreeMultiset<>(Ordering.natural());
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  5. docs/es/docs/python-types.md

    Y entonces no tendrás que preocuparte por nombres como `Optional` y `Union`. 😎
    
    #### Tipos genéricos { #generic-types }
    
    Estos tipos que toman parámetros de tipo en corchetes se llaman **Tipos Genéricos** o **Genéricos**, por ejemplo:
    
    //// tab | Python 3.10+
    
    Puedes usar los mismos tipos integrados como genéricos (con corchetes y tipos dentro):
    
    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.4K bytes
    - Viewed (1)
  6. guava/src/com/google/common/collect/TreeMultiset.java

       *
       * <p>The type specification is {@code <E extends Comparable>}, instead of the more specific
       * {@code <E extends Comparable<? super E>>}, to support classes defined without generics.
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
      public static <E extends Comparable> TreeMultiset<E> create() {
        return new TreeMultiset<>(Ordering.natural());
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 34.3K bytes
    - Viewed (0)
  7. docs/pt/docs/python-types.md

    E então você não precisará mais se preocupar com nomes como `Optional` e `Union`. 😎
    
    #### Tipos genéricos { #generic-types }
    
    Esses tipos que usam parâmetros de tipo entre colchetes são chamados **tipos genéricos** ou **genéricos**. Por exemplo:
    
    //// tab | Python 3.10+
    
    Você pode utilizar os mesmos tipos internos como genéricos (com colchetes e tipos dentro):
    
    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  8. docs/zh-hant/llm-prompt.md

    ### `///` admonitions
    
    1) Keep the admonition keyword in English (do not translate `note`, `tip`, etc.).
    2) Many Traditional Chinese docs currently omit titles in `///` blocks; that is OK.
    3) If a generic title is present, prefer these canonical titles:
    
    - `/// note | 注意`
    
    Notes:
    
    - `details` blocks exist; keep `/// details` as-is and translate only the title after `|`.
    - Example canonical titles used in existing docs:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:49:46 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/response-status-code.md

    * **`400 - 499`** are for "Client error" responses. These are the second type you would probably use the most.
        * An example is `404`, for a "Not Found" response.
        * For generic errors from the client, you can just use `400`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/response-status-code.md

    * **`400 - 499`** son para responses de "Error del Cliente". Este es el segundo tipo que probablemente más usarías.
        * Un ejemplo es `404`, para un response "Not Found".
        * Para errores genéricos del cliente, puedes usar simplemente `400`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top