Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for typeParameters (0.05 sec)

  1. src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java

            // Verify the class is generic
            final java.lang.reflect.TypeVariable<?>[] typeParameters = FessActionValidator.class.getTypeParameters();
            assertEquals("Should have one type parameter", 1, typeParameters.length);
            assertEquals("Type parameter should be MESSAGES", "MESSAGES", typeParameters[0].getName());
        }
    
        public void test_packageStructure() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. docs/nl/docs/python-types.md

    * De variabele `items_s` is een `set`, en elk van de items is van het type `bytes`.
    
    #### 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"
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/GenericsUtil.java

            final Map<TypeVariable<?>, Type> map = CollectionsUtil.newLinkedHashMap();
    
            final TypeVariable<?>[] typeParameters = clazz.getTypeParameters();
            for (final TypeVariable<?> typeParameter : typeParameters) {
                map.put(typeParameter, getActualClass(typeParameter.getBounds()[0], map));
            }
    
            final Class<?> superClass = clazz.getSuperclass();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. doc/go_spec.html

    <h4 id="Alias_declarations">Alias declarations</h4>
    
    <p>
    An alias declaration binds an identifier to the given type
    [<a href="#Go_1.9">Go 1.9</a>].
    </p>
    
    <pre class="ebnf">
    AliasDecl = identifier [ TypeParameters ] "=" Type .
    </pre>
    
    <p>
    Within the <a href="#Declarations_and_scope">scope</a> of
    the identifier, it serves as an <i>alias</i> for the given type.
    </p>
    
    <pre>
    type (
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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