- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for TypeArgs (0.58 sec)
-
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) -
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) -
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) -
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) -
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)