Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 19 for firstName (0.52 seconds)

  1. android/guava/src/com/google/common/collect/Multimap.java

     * ListMultimap<String, String> multimap = ArrayListMultimap.create();
     * for (President pres : US_PRESIDENTS_IN_ORDER) {
     *   multimap.put(pres.firstName(), pres.lastName());
     * }
     * for (String firstName : multimap.keySet()) {
     *   List<String> lastNames = multimap.get(firstName);
     *   out.println(firstName + ": " + lastNames);
     * }
     * }
     *
     * ... produces output such as:
     *
     * {@snippet :
     * Zachary: [Taylor]
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 15K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Multimap.java

     * ListMultimap<String, String> multimap = ArrayListMultimap.create();
     * for (President pres : US_PRESIDENTS_IN_ORDER) {
     *   multimap.put(pres.firstName(), pres.lastName());
     * }
     * for (String firstName : multimap.keySet()) {
     *   List<String> lastNames = multimap.get(firstName);
     *   out.println(firstName + ": " + lastNames);
     * }
     * }
     *
     * ... produces output such as:
     *
     * {@snippet :
     * Zachary: [Taylor]
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  3. tests/test_schema_extra_examples.py

        # TODO: In that case, define if File() should support example/examples too
        # @app.post("/form_example")
        # def form_example(firstname: str = Form(example="John")):
        #     return firstname
    
        # @app.post("/form_examples")
        # def form_examples(
        #     lastname: str = Form(
        #         ...,
        #         examples={
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  4. docs/en/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    to:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    That's it.
    
    Those are the "type hints":
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    That is not the same as declaring default values like would be with:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    It's a different thing.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  5. docs/ru/docs/python-types.md

    Вы вводите первый параметр функции, `first_name`, затем точку (`.`) и нажимаете `Ctrl+Space`, чтобы вызвать автозавершение.
    
    Но, к сожалению, ничего полезного не находится:
    
    <img src="/img/python-types/image01.png">
    
    ### Добавим типы { #add-types }
    
    Давайте изменим одну строку из предыдущей версии.
    
    Мы поменяем ровно этот фрагмент — параметры функции — с:
    
    ```Python
        first_name, last_name
    ```
    
    на:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  6. docs/de/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    zu:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    Das war's.
    
    Das sind die „Typhinweise“:
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    Das ist nicht das gleiche wie das Deklarieren von Defaultwerten, wie es hier der Fall ist:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 12.6K bytes
    - Click Count (1)
  7. docs/zh-hant/docs/python-types.md

    然後你試著用老牌程式設計師的好朋友——編輯器自動完成。
    
    你輸入函式的第一個參數 `first_name`,接著打一個點(`.`),然後按下 `Ctrl+Space` 觸發自動完成。
    
    但很遺憾,你什麼有用的也沒得到:
    
    <img src="/img/python-types/image01.png">
    
    ### 加上型別 { #add-types }
    
    我們來修改前一版中的一行。
    
    我們只要把函式參數這一段,從:
    
    ```Python
        first_name, last_name
    ```
    
    改成:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    就這樣。
    
    那些就是「型別提示」:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. docs/es/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    a:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    Eso es todo.
    
    Esas son las "anotaciones de tipos":
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    Eso no es lo mismo que declarar valores por defecto como sería con:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    Es una cosa diferente.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.6K bytes
    - Click Count (1)
  9. docs/pt/docs/python-types.md

    ```Python
        first_name, last_name
    ```
    
    para:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    É isso aí.
    
    Esses são os "type hints":
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    Isso não é o mesmo que declarar valores padrão como seria com:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    É uma coisa diferente.
    
    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)
  10. docs/tr/docs/python-types.md

    Fonksiyonun parametreleri olan şu parçayı:
    
    ```Python
        first_name, last_name
    ```
    
    şuna çevireceğiz:
    
    ```Python
        first_name: str, last_name: str
    ```
    
    Bu kadar.
    
    Bunlar "type hints":
    
    {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *}
    
    Bu, aşağıdaki gibi default değerler bildirmekle aynı şey değildir:
    
    ```Python
        first_name="john", last_name="doe"
    ```
    
    Bu farklı bir şey.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 11.9K bytes
    - Click Count (0)
Back to Top