- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 13 for arraytype (0.1 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java
}); } } private TypeMetaData extractTypeName(Type type) { TypeMetaData typeMetaData = new TypeMetaData(); type.ifArrayType(arrayType -> typeMetaData.setArrayDimensions(arrayType.getArrayLevel())); extractElementTypeName(type.getElementType(), typeMetaData); return typeMetaData; }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Aug 19 15:07:24 GMT 2024 - 11.8K bytes - Click Count (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.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 20.9K bytes - Click Count (0) -
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)));
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 11.5K bytes - Click Count (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.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 21.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/GenericsUtil.java
case ParameterizedType paramType -> getRawClass(paramType.getRawType()); case WildcardType wildcard -> getRawClass(wildcard.getUpperBounds()[0]); case GenericArrayType arrayType -> { Class<?> rawClass = getRawClass(arrayType.getGenericComponentType()); yield Array.newInstance(rawClass, 0).getClass(); } case null, default -> null; }; } /**
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 23.4K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
} if (type instanceof TypeVariable) { return type; } if (type instanceof GenericArrayType) { GenericArrayType arrayType = (GenericArrayType) type; return Types.newArrayType( notForTypeVariable().capture(arrayType.getGenericComponentType())); } if (type instanceof ParameterizedType) { ParameterizedType parameterizedType = (ParameterizedType) type;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 22:30:05 GMT 2025 - 25.3K bytes - Click Count (0) -
guava/src/com/google/common/reflect/TypeResolver.java
} if (type instanceof TypeVariable) { return type; } if (type instanceof GenericArrayType) { GenericArrayType arrayType = (GenericArrayType) type; return Types.newArrayType( notForTypeVariable().capture(arrayType.getGenericComponentType())); } if (type instanceof ParameterizedType) { ParameterizedType parameterizedType = (ParameterizedType) type;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 22:30:05 GMT 2025 - 25.3K bytes - Click Count (0) -
guava/src/com/google/common/io/ByteStreams.java
if (read1 != read2 || !arraysEqual(buf1, buf2, read1)) { return false; } else if (read1 != BUFFER_SIZE) { return true; } } } // The Arrays.equals(<arraytype>, int, int, <arraytype>, int, int) methods were not added until // Java 9. This function is just returns the same result that // Arrays.equals(array1, 0, count, array2, 0, count) would. It assumes that both arrays have a
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 31.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertFalse( from.getType() + " shouldn't be a subtype of " + to.getType(), from.isSubtypeOf(to)); } private static void assertHasArrayInterfaces(TypeToken<?> arrayType) { assertEquals(arrayInterfaces(), ImmutableSet.copyOf(arrayType.getGenericInterfaces())); } private static ImmutableSet<TypeToken<?>> arrayInterfaces() { ImmutableSet.Builder<TypeToken<?>> builder = ImmutableSet.builder();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 89K bytes - Click Count (0) -
doc/go_spec.html
string, <code>&s[i]</code> is invalid. </p> <h3 id="Array_types">Array types</h3> <p> An array is a numbered sequence of elements of a single type, called the element type. The number of elements is called the length of the array and is never negative. </p> <pre class="ebnf"> ArrayType = "[" ArrayLength "]" ElementType . ArrayLength = Expression . ElementType = Type . </pre>
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 02 23:07:19 GMT 2025 - 286.5K bytes - Click Count (1)