Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for TypeVariable (0.19 sec)

  1. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeResolver.java

             * created TypeVariable will not interoperate with any JDK TypeVariable. But this is OK: We
             * don't _want_ our new TypeVariable to be equal to the JDK TypeVariable because it has
             * _different bounds_ than the JDK TypeVariable. And it wouldn't make sense for our new
             * TypeVariable to be equal to any _other_ JDK TypeVariable, either, because any other JDK
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        TypeVariable<?> typeVariable =
            (TypeVariable<?>) new WithGenericBound<String>() {}.getTargetType("withTypeVariable");
        assertEquals(String.class, typeVariable.getBounds()[0]);
      }
    
      public void testWithRecursiveBoundInTypeVariable() throws Exception {
        TypeVariable<?> typeVariable =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeParameter.java

    public abstract class TypeParameter<T> extends TypeCapture<T> {
    
      final TypeVariable<?> typeVariable;
    
      protected TypeParameter() {
        Type type = capture();
        checkArgument(type instanceof TypeVariable, "%s should be a type variable.", type);
        this.typeVariable = (TypeVariable<?>) type;
      }
    
      @Override
      public final int hashCode() {
        return typeVariable.hashCode();
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  7. 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
     */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.7K bytes
    - Viewed (0)
  8. android/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
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.7K bytes
    - Viewed (0)
  9. 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 Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        TypeVariable<?> typeVariable =
            (TypeVariable<?>) new WithGenericBound<String>() {}.getTargetType("withTypeVariable");
        assertEquals(String.class, typeVariable.getBounds()[0]);
      }
    
      public void testWithRecursiveBoundInTypeVariable() throws Exception {
        TypeVariable<?> typeVariable =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K bytes
    - Viewed (0)
Back to top