- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 49 for ArrayType (0.25 sec)
-
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
assertThat(returnClass, is(sameClass(Object.class))); } /** * @throws Exception */ public void testArray() throws Exception { final Method m1 = ArrayType.class.getMethod("arrayOfStringClass"); final Type t1 = m1.getGenericReturnType(); final Type t2 = GenericsUtil.getElementTypeOfArray(t1); assertThat(GenericsUtil.getRawClass(t2), is(sameClass(Class.class)));
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/JavaPropertyReflectionUtil.java
} else if (typeToInspect instanceof GenericArrayType) { GenericArrayType arrayType = (GenericArrayType) typeToInspect; typesToInspect.add(arrayType.getGenericComponentType()); } else if (typeToInspect instanceof WildcardType) { WildcardType wildcardType = (WildcardType) typeToInspect;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
} } } } return null; } private static <T> T createEmptyArray(Class<T> arrayType) { // getComponentType() is non-null because we call createEmptyArray only with an array type. return arrayType.cast(Array.newInstance(requireNonNull(arrayType.getComponentType()), 0)); } // Internal implementations of some classes, with public default constructor that get() needs.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 21K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
} } } } return null; } private static <T> T createEmptyArray(Class<T> arrayType) { // getComponentType() is non-null because we call createEmptyArray only with an array type. return arrayType.cast(Array.newInstance(requireNonNull(arrayType.getComponentType()), 0)); } // Internal implementations of some classes, with public default constructor that get() needs.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 20.5K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go
}, }, }, }, }, } return ts } func arraySchema(arrayType, format string, maxItems *int64) *schema.Structural { return &schema.Structural{ Generic: schema.Generic{ Type: "array", }, Items: &schema.Structural{ Generic: schema.Generic{ Type: arrayType, }, ValueValidation: &schema.ValueValidation{ Format: format, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 14K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/openapi/schemas_test.go
}, }, }}, }}} return ts } func arraySchema(arrayType, format string, maxItems *int64) *spec.Schema { return &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"array"}, Items: &spec.SchemaOrArray{Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{arrayType}, Format: format, }}}, MaxItems: maxItems, }, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 14 17:18:27 UTC 2022 - 13K bytes - Viewed (0) -
src/go/ast/ast.go
const ( SEND ChanDir = 1 << iota RECV ) // A type is represented by a tree consisting of one // or more of the following type-specific expression // nodes. type ( // An ArrayType node represents an array or slice type. ArrayType struct { Lbrack token.Pos // position of "[" Len Expr // Ellipsis node for [...]T array types, nil for slice types Elt Expr // element type }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 21:32:41 UTC 2024 - 35.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java
} public void testResolveToGenericArrayType() { GenericArrayType arrayType = (GenericArrayType) new Holder<List<int[][]>[]>() {}.getContentType(); ParameterizedType listType = (ParameterizedType) arrayType.getGenericComponentType(); assertEquals(List.class, listType.getRawType());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 19.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java
} public void testResolveToGenericArrayType() { GenericArrayType arrayType = (GenericArrayType) new Holder<List<int[][]>[]>() {}.getContentType(); ParameterizedType listType = (ParameterizedType) arrayType.getGenericComponentType(); assertEquals(List.class, listType.getRawType());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 19.5K bytes - Viewed (0) -
platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/IsolatableSerializerRegistry.java
ImmutableList.Builder<Isolatable<?>> builder = ImmutableList.builder(); Class<?> arrayType = fromClassName(decoder.readString()); readIsolatableSequence(decoder, builder); return new IsolatedArray(builder.build(), arrayType); } @Override public Class<IsolatedArray> getIsolatableClass() { return IsolatedArray.class;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 26.9K bytes - Viewed (0)