- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for TypeArgs (0.1 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java
builder.append("..."); } return builder.toString(); } public TypeMetaData addTypeArg(TypeMetaData typeArg) { if (typeArgs == null) { typeArgs = new ArrayList<TypeMetaData>(); } typeArgs.add(typeArg); return this; } @Override public void visitTypes(Action<TypeMetaData> action) { if (wildcard) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6.1K bytes - Viewed (0) -
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) -
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) -
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.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) -
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)