Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for typeArgs (0.13 sec)

  1. android/guava/src/com/google/common/reflect/TypeResolver.java

            TypeVariable<?>[] typeVars = rawType.getTypeParameters();
            Type[] typeArgs = parameterizedType.getActualTypeArguments();
            for (int i = 0; i < typeArgs.length; i++) {
              typeArgs[i] = forTypeVariable(typeVars[i]).capture(typeArgs[i]);
            }
            return Types.newParameterizedTypeWithOwner(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/TypeResolver.java

            TypeVariable<?>[] typeVars = rawType.getTypeParameters();
            Type[] typeArgs = parameterizedType.getActualTypeArguments();
            for (int i = 0; i < typeArgs.length; i++) {
              typeArgs[i] = forTypeVariable(typeVars[i]).capture(typeArgs[i]);
            }
            return Types.newParameterizedTypeWithOwner(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertThat(parameters).hasSize(1);
        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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertThat(parameters).hasSize(1);
        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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  5. api/go1.18.txt

    pkg go/types, method (*Interface) MarkImplicit()
    pkg go/types, method (*Named) Origin() *Named
    pkg go/types, method (*Named) SetTypeParams([]*TypeParam)
    pkg go/types, method (*Named) TypeArgs() *TypeList
    pkg go/types, method (*Named) TypeParams() *TypeParamList
    pkg go/types, method (*Signature) RecvTypeParams() *TypeParamList
    pkg go/types, method (*Signature) TypeParams() *TypeParamList
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  6. api/go1.23.txt

    pkg go/types, method (*Alias) Origin() *Alias #67143
    pkg go/types, method (*Alias) Rhs() Type #66559
    pkg go/types, method (*Alias) SetTypeParams([]*TypeParam) #67143
    pkg go/types, method (*Alias) TypeArgs() *TypeList #67143
    pkg go/types, method (*Alias) TypeParams() *TypeParamList #67143
    pkg go/types, method (*Func) Signature() *Signature #65772
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 25 17:08:08 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. src/cmd/api/main_test.go

    		obj := typ.Obj()
    		pkg := obj.Pkg()
    		if pkg != nil && pkg != w.current.Package {
    			buf.WriteString(pkg.Name())
    			buf.WriteByte('.')
    		}
    		buf.WriteString(typ.Obj().Name())
    		if targs := typ.TypeArgs(); targs.Len() > 0 {
    			buf.WriteByte('[')
    			for i := 0; i < targs.Len(); i++ {
    				if i > 0 {
    					buf.WriteString(", ")
    				}
    				w.writeType(buf, targs.At(i))
    			}
    			buf.WriteByte(']')
    		}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  8. doc/go_spec.html

    A type may also be specified using a <i>type literal</i>, which composes a type
    from existing types.
    </p>
    
    <pre class="ebnf">
    Type      = TypeName [ TypeArgs ] | TypeLit | "(" Type ")" .
    TypeName  = identifier | QualifiedIdent .
    TypeArgs  = "[" TypeList [ "," ] "]" .
    TypeList  = Type { "," Type } .
    TypeLit   = ArrayType | StructType | PointerType | FunctionType | InterfaceType |
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
Back to top