- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for typeParameters (0.07 seconds)
-
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()); } @Test public void test_packageStructure() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 2.8K bytes - Click Count (0) -
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 (
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Apr 01 23:39:18 GMT 2026 - 287.8K bytes - Click Count (1) -
android/guava/src/com/google/common/reflect/TypeToken.java
* @Nullable X>, then users might pass a TypeParameter<Y>, where Y is a subtype of X, while still * passing a TypeToken<X>. This would be invalid. Maybe we could accept a TypeParameter<@PolyNull * X> if we support such a thing? It would be weird or misleading for users to be able to pass * `new TypeParameter<@Nullable T>() {}` and have it act as a plain `TypeParameter<T>`, but
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 53.8K bytes - Click Count (0) -
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() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0) -
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() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java
new TypeToken<B>(getClass()) {} // B's bound may have already resolved to something. // Make sure it can still further resolve when given a context. .where(new TypeParameter<B>() {}, (Class) Integer.class).getType(); assertEquals(Integer.class, type); } } new ForTwoStageResolution<Integer>().verifyTwoStageResolution();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 19.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java
new TypeToken<B>(getClass()) {} // B's bound may have already resolved to something. // Make sure it can still further resolve when given a context. .where(new TypeParameter<B>() {}, (Class) Integer.class).getType(); assertEquals(Integer.class, type); } } new ForTwoStageResolution<Integer>().verifyTwoStageResolution();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 19.6K bytes - Click Count (0)