Public classUtilExtends object
TheUtil
Class contains common utility functions. Some of the methods may be implemented as native functions for performance reasons. All methods inUtil
, Class are static methods.
Some methodsUtil
, NamelyArraycopy ()
,Arraycopynonatomic ()
,Arrayfillnonatomic ()
AndSetshort ()
, Refer to the persistence of array objects. The termPersistentMeans that arrays and their values persist from one CAD session to the next, indefinitely.Jcsystem
Class is used to control the persistence and transience of objects.
-
See also:
-
Jcsystem
Method Summary |
Static byte |
Arraycompare(Byte [] SRC, short srcoff, byte [] DEST, short destoff, short length) Compares an array from the specified source array, beginning at the specified position, with the specified position of the destination array from left to right. |
static short |
arraycopy (byte [] SRC, short srcoff, byte [] DEST, short destoff, short length) copies an array from the specified source array, beginning at the specified position, to the specified position of the destination array. |
static short |
arraycopynonatomic (byte [] SRC, short srcoff, byte [] DEST, short destoff, short length) copies an array from the specified source array, beginning at the specified position, to the specified position of the destination array (non-atomically ). |
Static short |
Arrayfillnonatomic(Byte [] barray, short boff, short blen, byte bvalue) Fills the byte array (non-atomically) beginning at the specified position, for the specified length with the specified byte value. |
Static short |
Getshort(Byte [] barray, short boff) Concatenates two bytes in a byte array to form a short value. |
Static short |
Makeshort(Byte B1, byte B2) Concatenates the Two Parameter bytes to form a short value. |
Static short |
Setshort(Byte [] barray, short boff, short svalue) Deposits the short value as two successive bytes at the specified offset in the byte array. |
methods inherited from class java. Lang. Object |
equals |