Searched defs:componentType (Results 1 - 4 of 4) sorted by relevance
/libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/ |
H A D | ImplForArray.java | 23 private final Type componentType; field in class:ImplForArray 25 public ImplForArray(Type componentType) { argument 26 this.componentType = componentType; 31 return ((ImplForType)componentType).getResolvedType(); 33 return componentType; 38 return componentType.toString() + "[]";
|
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | VMRuntime.java | 202 public native Object newNonMovableArray(Class<?> componentType, int length); argument
|
/libcore/luni/src/main/java/java/lang/reflect/ |
H A D | Array.java | 315 * dimensions. Equivalent to {@code new componentType[d0][d1]...[dn]} for a 325 public static Object newInstance(Class<?> componentType, int... dimensions) throws NegativeArraySizeException, IllegalArgumentException { argument 329 if (componentType == void.class) { 332 if (componentType == null) { 333 throw new NullPointerException("componentType == null"); 335 return createMultiArray(componentType, dimensions); 341 private static native Object createMultiArray(Class<?> componentType, int[] dimensions) throws NegativeArraySizeException; argument 345 * Equivalent to {@code new componentType[size]}. 352 public static Object newInstance(Class<?> componentType, int size) throws NegativeArraySizeException { argument 353 if (!componentType 380 createObjectArray(Class<?> componentType, int length) argument [all...] |
/libcore/luni/src/main/java/java/io/ |
H A D | ObjectOutputStream.java | 1114 * component type {@code componentType} into the receiver. It is 1123 * @param componentType 1132 Class<?> componentType, boolean unshared) throws IOException { 1146 if (componentType.isPrimitive()) { 1147 if (componentType == int.class) { 1153 } else if (componentType == byte.class) { 1157 } else if (componentType == char.class) { 1163 } else if (componentType == short.class) { 1169 } else if (componentType == boolean.class) { 1175 } else if (componentType 1131 writeNewArray(Object array, Class<?> arrayClass, ObjectStreamClass arrayClDesc, Class<?> componentType, boolean unshared) argument [all...] |
Completed in 75 milliseconds