Now I am confused with the issue about the ways to transmit value.
See the last parameter pls.
1. Transmit a value directly
Code: Select all
Util.arrayCopyNonAtomic(DataBuffer,p1p2,buffer,(short)0,(short)8);
2. Transmit value by a final variable
Code: Select all
final static short copy_length=8;
Util.arrayCopyNonAtomic(DataBuffer,p1p2,buffer,(short)0,copy_length);
Which expression is better for applet development ?