Lines Matching defs:componentType
57 * Array.newInstance(componentType, x);
64 * @param componentType the {@code Class} object representing the
69 * {@code componentType} parameter is null
70 * @exception IllegalArgumentException if componentType is {@link
76 public static Object newInstance(Class<?> componentType, int length)
78 return newArray(componentType, length);
84 * If {@code componentType}
87 * {@code componentType} as its component type. If
88 * {@code componentType} represents an array class, the
91 * dimensions of {@code componentType}. In this case, the
93 * {@code componentType}.
98 * @param componentType the {@code Class} object representing the component
104 * {@code componentType} argument is null
106 * argument is a zero-dimensional array, if componentType is {@link
112 public static Object newInstance(Class<?> componentType, int... dimensions)
114 return multiNewArray(componentType, dimensions);
485 private static native Object newArray(Class<?> componentType, int length)
488 private static native Object multiNewArray(Class<?> componentType,