Lines Matching defs:array

433      * and the invocation of that method returns an array, then readUnshared
434 * returns a shallow clone of that array; this guarantees that the returned
435 * array object is unique and cannot be obtained a second time from an
586 * <code>Class</code> object. Once returned, if the class is not an array
734 * field or array element abort the serialization by raising an exception
843 * Reads into an array of bytes. This method will block until some input
1653 * Reads in and returns array object, or null if array class is
1654 * unresolvable. Sets passHandle to array's assigned handle.
1664 Object array = null;
1668 array = Array.newInstance(ccl, len);
1671 int arrayHandle = handles.assign(unshared ? unsharedMarker : array);
1683 bin.readInts((int[]) array, 0, len);
1685 bin.readFully((byte[]) array, 0, len, true);
1687 bin.readLongs((long[]) array, 0, len);
1689 bin.readFloats((float[]) array, 0, len);
1691 bin.readDoubles((double[]) array, 0, len);
1693 bin.readShorts((short[]) array, 0, len);
1695 bin.readChars((char[]) array, 0, len);
1697 bin.readBooleans((boolean[]) array, 0, len);
1702 Object[] oa = (Object[]) array;
1711 return array;
1757 * ObjectStreamClass, array, or enum constant) object, or null if object's
2690 * Attempts to read len bytes into byte array b at offset off. Returns
2870 /* -------------- primitive data array input methods --------------- */
3242 /** array mapping handle -> object status */
3244 /** array mapping handle -> object/exception (depending on status) */
3246 /** array mapping handle -> list of dependent handles (if any) */
3510 private static Object cloneArray(Object array) {
3511 if (array instanceof Object[]) {
3512 return ((Object[]) array).clone();
3513 } else if (array instanceof boolean[]) {
3514 return ((boolean[]) array).clone();
3515 } else if (array instanceof byte[]) {
3516 return ((byte[]) array).clone();
3517 } else if (array instanceof char[]) {
3518 return ((char[]) array).clone();
3519 } else if (array instanceof double[]) {
3520 return ((double[]) array).clone();
3521 } else if (array instanceof float[]) {
3522 return ((float[]) array).clone();
3523 } else if (array instanceof int[]) {
3524 return ((int[]) array).clone();
3525 } else if (array instanceof long[]) {
3526 return ((long[]) array).clone();
3527 } else if (array instanceof short[]) {
3528 return ((short[]) array).clone();