Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 511 for typesIn (0.06 sec)

  1. android/guava-tests/test/com/google/common/reflect/TypesTest.java

       * and output.
       */
      public void testNewParameterizedTypeImmutability() {
        Type[] typesIn = {String.class, Integer.class};
        ParameterizedType parameterizedType = Types.newParameterizedType(Map.class, typesIn);
        typesIn[0] = null;
        typesIn[1] = null;
    
        Type[] typesOut = parameterizedType.getActualTypeArguments();
        typesOut[0] = null;
        typesOut[1] = null;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypesTest.java

       * and output.
       */
      public void testNewParameterizedTypeImmutability() {
        Type[] typesIn = {String.class, Integer.class};
        ParameterizedType parameterizedType = Types.newParameterizedType(Map.class, typesIn);
        typesIn[0] = null;
        typesIn[1] = null;
    
        Type[] typesOut = parameterizedType.getActualTypeArguments();
        typesOut[0] = null;
        typesOut[1] = null;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. docs/de/docs/python-types.md

    Diese Typen mit inneren Typen werden „**generische**“ Typen genannt. Es ist möglich, sie mit ihren inneren Typen zu deklarieren.
    
    Um diese Typen und die inneren Typen zu deklarieren, können Sie Pythons Standardmodul `typing` verwenden. Es existiert speziell für die Unterstützung dieser Typhinweise.
    
    #### Neuere Python-Versionen
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  4. docs/nl/docs/python-types.md

    Deze types die interne types hebben worden “**generieke**” types genoemd. Het is mogelijk om ze te declareren, zelfs met hun interne types.
    
    Om deze types en de interne types te declareren, kun je de standaard Python module `typing` gebruiken. Deze module is speciaal gemaakt om deze type hints te ondersteunen.
    
    #### Nieuwere versies van Python
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/Types.java

      }
    
      private static Type[] toArray(Collection<Type> types) {
        return types.toArray(new Type[0]);
      }
    
      private static Iterable<Type> filterUpperBounds(Iterable<Type> bounds) {
        return Iterables.filter(bounds, Predicates.not(Predicates.<Type>equalTo(Object.class)));
      }
    
      private static void disallowPrimitiveType(Type[] types, String usedAs) {
        for (Type type : types) {
          if (type instanceof Class) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. docs/en/docs/python-types.md

    ### Generic types with type parameters
    
    There are some data structures that can contain other values, like `dict`, `list`, `set` and `tuple`. And the internal values can have their own type too.
    
    These types that have internal types are called "**generic**" types. And it's possible to declare them, even with their internal types.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:47:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. docs/pt/docs/python-types.md

    No mesmo ponto, você tenta acionar o preenchimento automático com o `Ctrl+Space` e vê:
    
    <img src="/img/python-types/image02.png">
    
    Com isso, você pode rolar, vendo as opções, até encontrar o que "soa familiar":
    
    <img src="/img/python-types/image03.png">
    
    ## Mais motivação
    
    Verifique esta função, ela já possui type hints:
    
    ```Python hl_lines="1"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 12:32:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  8. docs/fr/docs/python-types.md

    #### Types génériques
    
    Les types qui peuvent contenir des paramètres de types entre crochets, comme :
    
    * `List`
    * `Tuple`
    * `Set`
    * `Dict`
    * `Optional`
    * ...et d'autres.
    
    sont appelés des **types génériques** ou **Generics**.
    
    ### Classes en tant que types
    
    Vous pouvez aussi déclarer une classe comme type d'une variable.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:21:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. docs/vi/docs/python-types.md

    Tại cùng một điểm, bạn thử kích hoạt autocomplete với `Ctrl+Space` và bạn thấy:
    
    <img src="/img/python-types/image02.png">
    
    Với cái đó, bạn có thể cuộn, nhìn thấy các lựa chọn, cho đến khi bạn tìm thấy một "tiếng chuông":
    
    <img src="/img/python-types/image03.png">
    
    ## Động lực nhiều hơn
    
    Kiểm tra hàm này, nó đã có gợi ý kiểu dữ liệu:
    
    ```Python hl_lines="1"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  10. docs/ru/docs/python-types.md

    В тот же момент вы пытаетесь запустить автодополнение с помощью `Ctrl+Space` и вы видите:
    
    <img src="/img/python-types/image02.png">
    
    При этом вы можете просматривать варианты, пока не найдёте подходящий:
    
    <img src="/img/python-types/image03.png">
    
    ## Больше мотивации
    
    Проверьте эту функцию, она уже имеет аннотации типов:
    
    ```Python hl_lines="1"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top