Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for TypeParameter (0.14 sec)

  1. guava/src/com/google/common/reflect/TypeParameter.java

     *   return new TypeToken<List<T>>() {}
     *       .where(new TypeParameter<T>() {}, elementType);
     * }
     * }
     *
     * @author Ben Yu
     * @since 12.0
     */
    /*
     * A nullable bound would let users create a TypeParameter instance for a parameter with a nullable
     * bound. However, it would also let them create `new TypeParameter<@Nullable T>() {}`, which
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeParameter.java

     *   return new TypeToken<List<T>>() {}
     *       .where(new TypeParameter<T>() {}, elementType);
     * }
     * }
     *
     * @author Ben Yu
     * @since 12.0
     */
    /*
     * A nullable bound would let users create a TypeParameter instance for a parameter with a nullable
     * bound. However, it would also let them create `new TypeParameter<@Nullable T>() {}`, which
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/TypeParameterTest.java

        assertThrows(IllegalArgumentException.class, () -> new TypeParameter<String>() {});
      }
    
      public <A, B> void testEquals() throws Exception {
        Method method = TypeParameterTest.class.getDeclaredMethod("testEquals");
        new EqualsTester()
            .addEqualityGroup(new TypeParameter<A>() {}, new TypeParameter<A>() {})
            .addEqualityGroup(new TypeParameter<B>() {})
            .testEquals();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeParameterTest.java

        assertThrows(IllegalArgumentException.class, () -> new TypeParameter<String>() {});
      }
    
      public <A, B> void testEquals() throws Exception {
        Method method = TypeParameterTest.class.getDeclaredMethod("testEquals");
        new EqualsTester()
            .addEqualityGroup(new TypeParameter<A>() {}, new TypeParameter<A>() {})
            .addEqualityGroup(new TypeParameter<B>() {})
            .testEquals();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/FauxveridesTest.java

        }
      }
    
      private static final class TypeParameterSignature {
        final String name;
        final List<Type> bounds;
    
        TypeParameterSignature(TypeVariable<?> typeParameter) {
          name = typeParameter.getName();
          bounds = asList(typeParameter.getBounds());
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof TypeParameterSignature) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. docs/nl/docs/python-types.md

    #### Dict
    
    Om een `dict` te definiƫren, geef je 2 typeparameters door, gescheiden door komma's.
    
    De eerste typeparameter is voor de sleutels (keys) van de `dict`.
    
    De tweede typeparameter is voor de waarden  (values) van het `dict`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial008_py39.py!}
    ```
    
    ////
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/GenericsUtil.java

            final TypeVariable<?>[] typeParameters = clazz.getTypeParameters();
            for (final TypeVariable<?> typeParameter : typeParameters) {
                map.put(typeParameter, getActualClass(typeParameter.getBounds()[0], map));
            }
    
            final Class<?> superClass = clazz.getSuperclass();
            final Type superClassType = clazz.getGenericSuperclass();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        return new TypeToken<Map<K, V>>() {}.where(new TypeParameter<K>() {}, keyType)
            .where(new TypeParameter<V>() {}, valueType);
      }
    
      private static <T> TypeToken<T[]> arrayOf(Class<T> componentType) {
        return new TypeToken<T[]>() {}.where(new TypeParameter<T>() {}, componentType);
      }
    
      public <T> void testNulls() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        return new TypeToken<Map<K, V>>() {}.where(new TypeParameter<K>() {}, keyType)
            .where(new TypeParameter<V>() {}, valueType);
      }
    
      private static <T> TypeToken<T[]> arrayOf(Class<T> componentType) {
        return new TypeToken<T[]>() {}.where(new TypeParameter<T>() {}, componentType);
      }
    
      public <T> void testNulls() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
Back to top