Searched defs:componentType (Results 1 - 5 of 5) sorted by relevance
/libcore/luni/src/main/java/libcore/reflect/ |
H A D | GenericArrayTypeImpl.java | 24 private final Type componentType; field in class:GenericArrayTypeImpl 26 public GenericArrayTypeImpl(Type componentType) { argument 27 this.componentType = componentType; 32 return ((ParameterizedTypeImpl)componentType).getResolvedType(); 34 return componentType; 53 return componentType.toString() + "[]";
|
/libcore/luni/src/test/java/dalvik/system/ |
H A D | VMRuntimeTest.java | 27 private void doTestNewNonMovableArray(Class<?> componentType, int step, int maxLength) { argument 30 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, -1); 36 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, Integer.MIN_VALUE); 43 Object array = VMRuntime.getRuntime().newNonMovableArray(componentType, i); 45 assertEquals(array.getClass().getComponentType(), componentType); 81 private void doTestNewUnpaddedArray(Class<?> componentType, int step, int maxLength) { argument 84 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, -1); 90 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, Integer.MIN_VALUE); 97 Object array = VMRuntime.getRuntime().newUnpaddedArray(componentType, i); 99 assertEquals(array.getClass().getComponentType(), componentType); [all...] |
/libcore/ojluni/src/main/java/java/lang/reflect/ |
H A D | Array.java | 55 * Array.newInstance(componentType, x); 59 * @param componentType the {@code Class} object representing the 64 * {@code componentType} parameter is null 65 * @exception IllegalArgumentException if componentType is {@link Void#TYPE} 69 public static Object newInstance(Class<?> componentType, int length) argument 71 return newArray(componentType, length); 77 * If {@code componentType} 80 * {@code componentType} as its component type. If 81 * {@code componentType} represents an array class, the 84 * dimensions of {@code componentType} 107 newInstance(Class<?> componentType, int... dimensions) argument 724 createMultiArray(Class<?> componentType, int[] dimensions) argument 735 newArray(Class<?> componentType, int size) argument 763 createObjectArray(Class<?> componentType, int length) argument [all...] |
/libcore/libart/src/main/java/dalvik/system/ |
H A D | VMRuntime.java | 258 public native Object newNonMovableArray(Class<?> componentType, int length); argument 263 * componentType and the memory allocator implementation. 265 public native Object newUnpaddedArray(Class<?> componentType, int minLength); argument
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | Class.java | 138 private transient Class<?> componentType; field in class:Class 532 return c.isArray() && componentType.isAssignableFrom(c.componentType); 1009 return componentType;
|
Completed in 248 milliseconds