Javacard. Framework. util

Source: Internet
Author: User
Public classUtilExtends object

TheUtilClass 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.JcsystemClass 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.