Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 43 of 43 for choice (0.14 sec)

  1. android/guava-tests/test/com/google/common/collect/HashBiMapTest.java

        return suite;
      }
    
      public void testMapConstructor() {
        /* Test with non-empty Map. */
        Map<String, String> map =
            ImmutableMap.of(
                "canada", "dollar",
                "chile", "peso",
                "switzerland", "franc");
        HashBiMap<String, String> bimap = HashBiMap.create(map);
        assertEquals("dollar", bimap.get("canada"));
        assertEquals("canada", bimap.inverse().get("dollar"));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/events.md

        But `open()` doesn't use `async` and `await`.
    
        So, we declare the event handler function with standard `def` instead of `async def`.
    
    ### `startup` and `shutdown` together
    
    There's a high chance that the logic for your *startup* and *shutdown* is connected, you might want to start something and then finish it, acquire a resource and then release it, etc.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/events.md

        Mas `open()` não usa `async` e `await`.
    
        Então, nós declaramos uma função de manipulação de evento com o padrão `def` ao invés de `async def`.
    
    ### `startup` e `shutdown` juntos
    
    Há uma grande chance que a lógica para sua *inicialização* e *encerramento* esteja conectada, você pode querer iniciar alguma coisa e então finalizá-la, adquirir um recurso e então liberá-lo, etc.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top