- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for getActualTypeArguments (0.17 sec)
-
android/guava-tests/test/com/google/common/reflect/TypesTest.java
assertEquals(HashMap.class, ourType.getRawType()); assertThat(ourType.getActualTypeArguments()) .asList() .containsExactlyElementsIn(asList(jvmType.getActualTypeArguments())) .inOrder(); assertEquals( Arrays.asList(String.class, Types.newArrayType(Types.newArrayType(int.class))), Arrays.asList(ourType.getActualTypeArguments())); assertEquals(null, ourType.getOwnerType()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:41:27 UTC 2024 - 15.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypesTest.java
assertEquals(HashMap.class, ourType.getRawType()); assertThat(ourType.getActualTypeArguments()) .asList() .containsExactlyElementsIn(asList(jvmType.getActualTypeArguments())) .inOrder(); assertEquals( Arrays.asList(String.class, Types.newArrayType(Types.newArrayType(int.class))), Arrays.asList(ourType.getActualTypeArguments())); assertEquals(null, ourType.getOwnerType()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:41:27 UTC 2024 - 15.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
(ParameterizedType) supertype.getSubtype(subtype.getRawType()).getType(); assertEquals(MySpecialList.class, actualSubtype.getRawType()); assertThat(actualSubtype.getActualTypeArguments()[0]).isEqualTo(String.class); assertThat(actualSubtype.getActualTypeArguments()[1]).isInstanceOf(TypeVariable.class); assertTrue(TypeToken.of(actualSubtype).isSubtypeOf(supertype)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/ParameterizedClassDesc.java
* <p> * このインスタンスが表現するクラスがパラメタ化されたクラスでない場合は、{@literal null}を返します。 * </p> * * @return 型引数を表す{@link ParameterizedClassDesc}の配列 * @see ParameterizedType#getActualTypeArguments() */ ParameterizedClassDesc[] getArguments();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java
.getGenericReturnType(); if (returnType instanceof ParameterizedType) { return !((ParameterizedType) returnType).getActualTypeArguments()[0].equals(String.class); } else { return false; } } catch (ReflectiveOperationException | SecurityException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
(ParameterizedType) supertype.getSubtype(subtype.getRawType()).getType(); assertEquals(MySpecialList.class, actualSubtype.getRawType()); assertThat(actualSubtype.getActualTypeArguments()[0]).isEqualTo(String.class); assertThat(actualSubtype.getActualTypeArguments()[1]).isInstanceOf(TypeVariable.class); assertTrue(TypeToken.of(actualSubtype).isSubtypeOf(supertype)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
ParameterizedType that = (ParameterizedType) other; return getRawType().equals(that.getRawType()) && Objects.equal(getOwnerType(), that.getOwnerType()) && Arrays.equals(getActualTypeArguments(), that.getActualTypeArguments()); } private static final long serialVersionUID = 0; } private static <D extends GenericDeclaration> TypeVariable<D> newTypeVariableImpl(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 23K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeResolverTest.java
} private static <T> Type aWildcardType() { ParameterizedType parameterizedType = (ParameterizedType) new TypeCapture<List<? extends T>>() {}.capture(); return parameterizedType.getActualTypeArguments()[0]; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 9.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java
} private static <T> Type aWildcardType() { ParameterizedType parameterizedType = (ParameterizedType) new TypeCapture<List<? extends T>>() {}.capture(); return parameterizedType.getActualTypeArguments()[0]; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/GenericsUtil.java
* @param type * タイプ * @return <code>type</code>の型引数の配列 * @see ParameterizedType#getActualTypeArguments() */ public static Type[] getGenericParameters(final Type type) { if (type instanceof ParameterizedType) { return ParameterizedType.class.cast(type).getActualTypeArguments(); } if (type instanceof GenericArrayType) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 23.6K bytes - Viewed (0)