Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TypeArgs (0.19 sec)

  1. 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).hasLength(1);
        TypeVariable<?> captured = (TypeVariable<?>) typeArgs[0];
        assertThat(captured.getBounds()).asList().containsExactly(Object.class);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 89K bytes
    - Viewed (0)
  2. 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 Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Dec 02 23:07:19 UTC 2025
    - 286.5K bytes
    - Viewed (1)
Back to top