20.18
java.lang.System
THE PACKAGE JAVA.LANG
20.18.15
public static void loadLibrary(String libname)
throws SecurityException, UnsatisfiedLinkError
This method loads a library code file with the specified library name from the
local file system.
The call
System.loadLibrary(name)
is effectively equivalent to the call
Runtime.getRuntime().loadLibrary(name)
For a more complete description, see the
loadLibrary
method of class
Runtime
( 20.16.14).
20.18.16
public static void arraycopy(Object src, int srcOffset,
Object dst, int dstOffset, int length)
throws NullPointerException, ArrayStoreException,
IndexOutOfBoundsException
A subsequence of array components is copied from the source array referenced by
src
to the destination array referenced by
dst
. The number of components copied
is equal to the
length
argument. The components at the positions
srcOffset
through
srcOffset+length 1
in the source array are copied into the positions
dstOffset
through
dstOffset+length 1
, respectively, of the destination array.
If the
src
and
dst
arguments refer to the same array object, then copying is
performed as if the components of the source array at positions
srcOffset
through
srcOffset+length 1
were first copied to a temporary array of length
length
and then the contents of the temporary array were copied into positions
dstOffset
through
dstOffset+length 1
of the destination array.
If
dst
is
null
, then a
NullPointerException
is thrown.
If
src
is
null
, then a
NullPointerException
is thrown and the destination
array is not modified.
Otherwise, if any of the following is true, then an
ArrayStoreException
is
thrown and the destination is not modified:
The
src
argument refers to an object that is not an array.
The
dst
argument refers to an object that is not an array.
The
src
argument and
dst
argument refer to arrays whose component types
are different primitive types.
The
src
argument refers to an array of primitive component type and the
dst
argument refers to an array of reference component type.
584
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved