Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003

    in the java library, what is the meaning of:

    in the encoder class, there is a method called, EncodeUintvarNumber(long lData){
    long lDivider= 1L;--->what is the meaning of 1L???

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Texas, USA

    RE: in the java library, what is the meaning of:


    This is basic Java notiation for the "long" datatype.
    Usually, using a digit like "1" is understood as a regular "int".
    So, specifying the number as "1L" ensures that the digit is understood as a long integer.

    In the Encoder class, this statement is initializing the variable to 1 long.

    Refer to the Java Sun website for help with Java datatypes.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts