- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 27 for TypeVariable (0.17 sec)
-
guava-tests/test/com/google/common/reflect/TypesTest.java
TypeVariable<?> noBoundJvmType = WithTypeVariable.getTypeVariable("withoutBound"); TypeVariable<?> objectBoundJvmType = WithTypeVariable.getTypeVariable("withObjectBound"); TypeVariable<?> upperBoundJvmType = WithTypeVariable.getTypeVariable("withUpperBound"); TypeVariable<?> noBound = withBounds(noBoundJvmType); TypeVariable<?> objectBound = withBounds(objectBoundJvmType, Object.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:41:27 UTC 2024 - 15.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeVisitor.java
if (type == null || !visited.add(type)) { // null owner type, or already visited; continue; } boolean succeeded = false; try { if (type instanceof TypeVariable) { visitTypeVariable((TypeVariable<?>) type); } else if (type instanceof WildcardType) { visitWildcardType((WildcardType) type); } else if (type instanceof ParameterizedType) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Apr 16 21:10:04 UTC 2021 - 3.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeVisitorTest.java
*/ package com.google.common.reflect; import java.lang.reflect.GenericArrayType; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; import java.lang.reflect.WildcardType; import java.util.ArrayList; import java.util.EnumSet; import junit.framework.TestCase; /** * Tests of {@link TypeVisitor}. * * @author Ben Yu */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java
import static org.hamcrest.CoreMatchers.nullValue; import static org.junit.Assert.assertThat; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; import java.util.List; import java.util.Map; import java.util.Set; import org.codelibs.core.beans.ParameterizedClassDesc; import org.junit.Test; /** * @author koichik */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FauxveridesTest.java
final List<TypeParameterSignature> parameterSignatures; TypeSignature(TypeVariable<Method>[] parameters) { parameterSignatures = transform( asList(parameters), new Function<TypeVariable<?>, TypeParameterSignature>() { @Override public TypeParameterSignature apply(TypeVariable<?> from) { return new TypeParameterSignature(from);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
final List<TypeParameterSignature> parameterSignatures; TypeSignature(TypeVariable<Method>[] parameters) { parameterSignatures = transform( asList(parameters), new Function<TypeVariable<?>, TypeParameterSignature>() { @Override public TypeParameterSignature apply(TypeVariable<?> from) { return new TypeParameterSignature(from);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.2K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Invokable.java
*/ @Override public final TypeVariable<?>[] getTypeParameters() { TypeVariable<?>[] declaredByClass = getDeclaringClass().getTypeParameters(); TypeVariable<?>[] declaredByConstructor = constructor.getTypeParameters(); TypeVariable<?>[] result = new TypeVariable<?>[declaredByClass.length + declaredByConstructor.length];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 19.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
TypeToken<?> parameterType = parameters.get(0).getType(); Type[] typeArgs = ((ParameterizedType) parameterType.getType()).getActualTypeArguments(); assertThat(typeArgs).asList().hasSize(1); TypeVariable<?> captured = (TypeVariable<?>) typeArgs[0]; assertThat(captured.getBounds()).asList().containsExactly(Object.class); assertThat(new TypeToken<List<?>>() {}.isSupertypeOf(parameterType)).isTrue(); }
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/impl/ConstructorDescImpl.java
import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.lang.reflect.Constructor; import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; import java.util.Collection; import java.util.Map; import org.codelibs.core.beans.BeanDesc; import org.codelibs.core.beans.ConstructorDesc; import org.codelibs.core.beans.ParameterizedClassDesc;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
import static org.codelibs.core.misc.AssertionUtil.assertState; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.lang.reflect.Type; import java.lang.reflect.TypeVariable; import java.sql.Time; import java.sql.Timestamp; import java.util.Collection; import java.util.Map; import org.codelibs.core.beans.BeanDesc; import org.codelibs.core.beans.ParameterizedClassDesc;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 15.3K bytes - Viewed (0)