- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for TypeVariable (0.23 sec)
-
android/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);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 14.8K bytes - Viewed (0) -
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);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 14.8K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
} private static <D extends GenericDeclaration> TypeVariable<D> newTypeVariableImpl( D genericDeclaration, String name, Type[] bounds) { TypeVariableImpl<D> typeVariableImpl = new TypeVariableImpl<>(genericDeclaration, name, bounds); @SuppressWarnings("unchecked") TypeVariable<D> typeVariable = Reflection.newProxy( TypeVariable.class, new TypeVariableInvocationHandler(typeVariableImpl));
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K 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 */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
* @throws Exception */ public void testGetTypeVariableMap() throws Exception { final Map<TypeVariable<?>, Type> map = GenericsUtil.getTypeVariableMap(Hoge.class); assertThat(map.size(), is(4)); final Iterator<Entry<TypeVariable<?>, Type>> it = map.entrySet().iterator(); Entry<TypeVariable<?>, Type> entry = it.next(); assertThat(entry.getKey().getName(), is("T1"));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/GenericsUtil.java
} if (type instanceof TypeVariable) { final TypeVariable<?> typeVariable = TypeVariable.class.cast(type); if (map.containsKey(typeVariable)) { return getActualClass(map.get(typeVariable), map); } return getActualClass(typeVariable.getBounds()[0], map); } if (type instanceof GenericArrayType) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 23.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java
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.util.Map; import org.codelibs.core.beans.BeanDesc; import org.codelibs.core.beans.ConstructorDesc; import org.codelibs.core.beans.FieldDesc; import org.codelibs.core.beans.MethodDesc;
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 7.9K bytes - Viewed (1) -
android/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];
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 14 20:35:03 GMT 2023 - 18.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals( new TypeToken<Enum<T>>() {}, TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericSuperclass()); assertEquals(TypeToken.of(Object.class), new TypeToken<T[]>() {}.getGenericSuperclass()); } public <T extends List<String> & Serializable> void testGetGenericSuperclass_typeVariable_boundIsInterface() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 88.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals( new TypeToken<Enum<T>>() {}, TypeToken.of(new TypeCapture<T>() {}.capture()).getGenericSuperclass()); assertEquals(TypeToken.of(Object.class), new TypeToken<T[]>() {}.getGenericSuperclass()); } public <T extends List<String> & Serializable> void testGetGenericSuperclass_typeVariable_boundIsInterface() {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 88.7K bytes - Viewed (0)