Searched refs:arrayType (Results 1 - 7 of 7) sorted by relevance
/libcore/ojluni/src/main/java/java/lang/invoke/ |
H A D | MethodHandle.java | 793 * by a single array parameter of type {@code arrayType}. 861 * @param arrayType usually {@code Object[]}, the type of the array argument from which to extract the spread arguments 865 * @throws NullPointerException if {@code arrayType} is a null reference 866 * @throws IllegalArgumentException if {@code arrayType} is not an array type, 875 public MethodHandle asSpreader(Class<?> arrayType, int arrayLength) { argument 876 MethodType postSpreadType = asSpreaderChecks(arrayType, arrayLength); 881 MethodType adapterType = dropArrayArgs.appendParameterTypes(arrayType); 890 private MethodType asSpreaderChecks(Class<?> arrayType, int arrayLength) { argument 891 spreadArrayChecks(arrayType, arrayLength); 895 Class<?> arrayElement = arrayType 916 spreadArrayChecks(Class<?> arrayType, int arrayLength) argument 1001 asCollector(Class<?> arrayType, int arrayLength) argument 1011 asCollectorChecks(Class<?> arrayType, int arrayLength) argument 1172 asVarargsCollector(Class<?> arrayType) argument [all...] |
H A D | MethodType.java | 473 /** Replace the last arrayLength parameter types with the component type of arrayType. 474 * @param arrayType any array type 478 /*non-public*/ MethodType asSpreaderType(Class<?> arrayType, int arrayLength) { argument 482 if (arrayType == Object[].class) { 493 Class<?> elemType = arrayType.getComponentType(); 516 /** Delete the last parameter type and replace it with arrayLength copies of the component type of arrayType. 517 * @param arrayType any array type 521 /*non-public*/ MethodType asCollectorType(Class<?> arrayType, int arrayLength) { argument 523 assert(lastParameterType().isAssignableFrom(arrayType)); 525 if (arrayType [all...] |
H A D | Transformers.java | 1330 Collector(MethodHandle delegate, Class<?> arrayType, int length) { argument 1331 super(delegate.type().asCollectorType(arrayType, length)); 1337 arrayTypeChar = Wrapper.basicTypeChar(arrayType.getComponentType());
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
H A D | MethodHandle.java | 42 public MethodHandle asCollector(Class<?> arrayType, int arrayLength) { return null; } argument 44 public MethodHandle asVarargsCollector(Class<?> arrayType) { return null; } argument
|
/libcore/benchmarks/src/benchmarks/ |
H A D | DeepArrayOpsBenchmark.java | 102 private static final <T, V> T[] new16ElementArray(Class<T> arrayType, Class<V> type) argument 105 if (!arrayType.isAssignableFrom(type)) { 106 throw new IllegalArgumentException(arrayType + " is not assignable from " + type);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
H A D | GenericArrayTypeTest.java | 64 GenericArrayType arrayType = (GenericArrayType) genericType; 65 Type componentType = arrayType.getGenericComponentType();
|
/libcore/ojluni/src/main/java/sun/invoke/util/ |
H A D | Wrapper.java | 584 public Class<?> arrayType() { method in class:Wrapper 588 if (a.getClass() != arrayType()) 589 arrayType().cast(a); // throw NPE or CCE if bad type 597 if (a.getClass() != arrayType()) 598 arrayType().cast(a); // throw NPE or CCE if bad type
|
Completed in 212 milliseconds