1 *java.lang.Long* *Long* The Long class wraps a value of the primitive type
4 public final class Long
5 extends |java.lang.Number|
6 implements |java.lang.Comparable|
8 |java.lang.Long_Description|
9 |java.lang.Long_Fields|
10 |java.lang.Long_Constructors|
11 |java.lang.Long_Methods|
13 ================================================================================
15 *java.lang.Long_Fields*
16 |long_java.lang.Long.MAX_VALUE|
17 |long_java.lang.Long.MIN_VALUE|
18 |int_java.lang.Long.SIZE|
19 |java.lang.Class_java.lang.Long.TYPE|
21 *java.lang.Long_Constructors*
22 |java.lang.Long(long)|Constructs a newly allocated Long object that represents
23 |java.lang.Long(String)|Constructs a newly allocated Long object that represen
25 *java.lang.Long_Methods*
26 |java.lang.Long.bitCount(long)|Returns the number of one-bits in the two's comp
27 |java.lang.Long.byteValue()|Returns the value of this Long as a byte.
28 |java.lang.Long.compareTo(Long)|Compares two Long objects numerically.
29 |java.lang.Long.decode(String)|Decodes a String into a Long.
30 |java.lang.Long.doubleValue()|Returns the value of this Long as a double.
31 |java.lang.Long.equals(Object)|Compares this object to the specified object.
32 |java.lang.Long.floatValue()|Returns the value of this Long as a float.
33 |java.lang.Long.getLong(String)|Determines the long value of the system propert
34 |java.lang.Long.getLong(String,long)|Determines the long value of the system pr
35 |java.lang.Long.getLong(String,Long)|Returns the long value of the system prope
36 |java.lang.Long.hashCode()|Returns a hash code for this Long.
37 |java.lang.Long.highestOneBit(long)|Returns an long value with at most a single
38 |java.lang.Long.intValue()|Returns the value of this Long as an int.
39 |java.lang.Long.longValue()|Returns the value of this Long as a long value.
40 |java.lang.Long.lowestOneBit(long)|Returns an long value with at most a single
41 |java.lang.Long.numberOfLeadingZeros(long)|Returns the number of zero bits prec
42 |java.lang.Long.numberOfTrailingZeros(long)|Returns the number of zero bits fol
43 |java.lang.Long.parseLong(String)|Parses the string argument as a signed decima
44 |java.lang.Long.parseLong(String,int)|Parses the string argument as a signed lo
45 |java.lang.Long.reverse(long)|Returns the value obtained by reversing the order
46 |java.lang.Long.reverseBytes(long)|Returns the value obtained by reversing the
47 |java.lang.Long.rotateLeft(long,int)|Returns the value obtained by rotating the
48 |java.lang.Long.rotateRight(long,int)|Returns the value obtained by rotating th
49 |java.lang.Long.shortValue()|Returns the value of this Long as a short.
50 |java.lang.Long.signum(long)|Returns the signum function of the specified long
51 |java.lang.Long.toBinaryString(long)|Returns a string representation of the lon
52 |java.lang.Long.toHexString(long)|Returns a string representation of the long
53 |java.lang.Long.toOctalString(long)|Returns a string representation of the long
54 |java.lang.Long.toString()|Returns a String object representing this Long's va
55 |java.lang.Long.toString(long)|Returns a String object representing the specifi
56 |java.lang.Long.toString(long,int)|Returns a string representation of the first
57 |java.lang.Long.valueOf(long)|Returns a Long instance representing the specifie
58 |java.lang.Long.valueOf(String)|Returns a Long object holding the value of the
59 |java.lang.Long.valueOf(String,int)|Returns a Long object holding the value ex
61 *java.lang.Long_Description*
63 The Long class wraps a value of the primitive type long in an object. An object
64 of type Long contains a single field whose type is long.
68 In addition, this class provides several methods for converting a long to a
69 String and a String to a long, as well as other constants and methods useful
70 when dealing with a long.
72 Implementation note: The implementations of the "bit twiddling" methods (such
73 as highestOneBit(|java.lang.Long|) and numberOfTrailingZeros(|java.lang.Long|)
74 ) are based on material from Henry S. Warren, Jr.'s Hacker's Delight, (Addison
78 *long_java.lang.Long.MAX_VALUE*
80 The Long class wraps a value of the primitive type long in an object. An object
81 of type Long contains a single field whose type is long.
85 In addition, this class provides several methods for converting a long to a
86 String and a String to a long, as well as other constants and methods useful
87 when dealing with a long.
89 Implementation note: The implementations of the "bit twiddling" methods (such
90 as highestOneBit(|java.lang.Long|) and numberOfTrailingZeros(|java.lang.Long|)
91 ) are based on material from Henry S. Warren, Jr.'s Hacker's Delight, (Addison
95 *long_java.lang.Long.MIN_VALUE*
97 The Long class wraps a value of the primitive type long in an object. An object
98 of type Long contains a single field whose type is long.
102 In addition, this class provides several methods for converting a long to a
103 String and a String to a long, as well as other constants and methods useful
104 when dealing with a long.
106 Implementation note: The implementations of the "bit twiddling" methods (such
107 as highestOneBit(|java.lang.Long|) and numberOfTrailingZeros(|java.lang.Long|)
108 ) are based on material from Henry S. Warren, Jr.'s Hacker's Delight, (Addison
112 *int_java.lang.Long.SIZE*
114 The Long class wraps a value of the primitive type long in an object. An object
115 of type Long contains a single field whose type is long.
119 In addition, this class provides several methods for converting a long to a
120 String and a String to a long, as well as other constants and methods useful
121 when dealing with a long.
123 Implementation note: The implementations of the "bit twiddling" methods (such
124 as highestOneBit(|java.lang.Long|) and numberOfTrailingZeros(|java.lang.Long|)
125 ) are based on material from Henry S. Warren, Jr.'s Hacker's Delight, (Addison
129 *java.lang.Class_java.lang.Long.TYPE*
131 The Long class wraps a value of the primitive type long in an object. An object
132 of type Long contains a single field whose type is long.
136 In addition, this class provides several methods for converting a long to a
137 String and a String to a long, as well as other constants and methods useful
138 when dealing with a long.
140 Implementation note: The implementations of the "bit twiddling" methods (such
141 as highestOneBit(|java.lang.Long|) and numberOfTrailingZeros(|java.lang.Long|)
142 ) are based on material from Henry S. Warren, Jr.'s Hacker's Delight, (Addison
147 *java.lang.Long(long)*
149 public Long(long value)
151 Constructs a newly allocated Long object that represents the specified long
154 value - the value to be represented by the Long object.
156 *java.lang.Long(String)*
158 public Long(java.lang.String s)
159 throws |java.lang.NumberFormatException|
161 Constructs a newly allocated Long object that represents the long value
162 indicated by the String parameter. The string is converted to a long value in
163 exactly the manner used by the parseLong method for radix 10.
165 s - the String to be converted to a Long.
167 *java.lang.Long.bitCount(long)*
169 public static int bitCount(long i)
171 Returns the number of one-bits in the two's complement binary representation of
172 the specified long value. This function is sometimes referred to as the
176 Returns: the number of one-bits in the two's complement binary representation of the
177 specified long value.
178 *java.lang.Long.byteValue()*
180 public byte byteValue()
182 Returns the value of this Long as a byte.
185 *java.lang.Long.compareTo(Long)*
187 public int compareTo(java.lang.Long anotherLong)
189 Compares two Long objects numerically.
191 anotherLong - the Long to be compared.
193 Returns: the value 0 if this Long is equal to the argument Long; a value less than 0 if
194 this Long is numerically less than the argument Long; and a value
195 greater than 0 if this Long is numerically greater than the
196 argument Long (signed comparison).
197 *java.lang.Long.decode(String)*
199 public static |java.lang.Long| decode(java.lang.String nm)
200 throws |java.lang.NumberFormatException|
202 Decodes a String into a Long. Accepts decimal, hexadecimal, and octal numbers
203 given by the following grammar:
207 DecodableString: Signopt DecimalNumeral Signopt 0x HexDigits Signopt 0X
208 HexDigits Signopt # HexDigits Signopt 0 OctalDigits
214 DecimalNumeral, HexDigits, and OctalDigits are defined in 3.10.1 of the Java
215 Language Specification.
217 The sequence of characters following an (optional) negative sign and/or radix
218 specifier (0x, 0X, #, or leading zero) is parsed as by the Long.parseLong
219 method with the indicated radix (10, 16, or 8). This sequence of characters
220 must represent a positive value or a (|java.lang.NumberFormatException|) will
221 be thrown. The result is negated if first character of the specified String is
222 the minus sign. No whitespace characters are permitted in the String.
224 nm - the String to decode.
226 Returns: a Long object holding the long value represented by nm
227 *java.lang.Long.doubleValue()*
229 public double doubleValue()
231 Returns the value of this Long as a double.
234 *java.lang.Long.equals(Object)*
236 public boolean equals(java.lang.Object obj)
238 Compares this object to the specified object. The result is true if and only if
239 the argument is not null and is a Long object that contains the same long value
242 obj - the object to compare with.
244 Returns: true if the objects are the same; false otherwise.
245 *java.lang.Long.floatValue()*
247 public float floatValue()
249 Returns the value of this Long as a float.
252 *java.lang.Long.getLong(String)*
254 public static |java.lang.Long| getLong(java.lang.String nm)
256 Determines the long value of the system property with the specified name.
258 The first argument is treated as the name of a system property. System
259 properties are accessible through the (|java.lang.System|) method. The string
260 value of this property is then interpreted as a long value and a Long object
261 representing this value is returned. Details of possible numeric formats can be
262 found with the definition of getProperty.
264 If there is no property with the specified name, if the specified name is empty
265 or null, or if the property does not have the correct numeric format, then null
268 In other words, this method returns a Long object equal to the value of:
274 Returns: the Long value of the property.
275 *java.lang.Long.getLong(String,long)*
277 public static |java.lang.Long| getLong(
281 Determines the long value of the system property with the specified name.
283 The first argument is treated as the name of a system property. System
284 properties are accessible through the (|java.lang.System|) method. The string
285 value of this property is then interpreted as a long value and a Long object
286 representing this value is returned. Details of possible numeric formats can be
287 found with the definition of getProperty.
289 The second argument is the default value. A Long object that represents the
290 value of the second argument is returned if there is no property of the
291 specified name, if the property does not have the correct numeric format, or if
292 the specified name is empty or null.
294 In other words, this method returns a Long object equal to the value of:
296 getLong(nm, new Long(val))
298 but in practice it may be implemented in a manner such as:
300 Long result = getLong(nm, null); return (result == null) ? new Long(val) :
303 to avoid the unnecessary allocation of a Long object when the default value is
309 Returns: the Long value of the property.
310 *java.lang.Long.getLong(String,Long)*
312 public static |java.lang.Long| getLong(
316 Returns the long value of the system property with the specified name. The
317 first argument is treated as the name of a system property. System properties
318 are accessible through the (|java.lang.System|) method. The string value of
319 this property is then interpreted as a long value, as per the Long.decode
320 method, and a Long object representing this value is returned.
322 If the property value begins with the two ASCII characters 0x or the ASCII
323 character #, not followed by a minus sign, then the rest of it is parsed as a
324 hexadecimal integer exactly as for the method (|java.lang.Long|) with radix 16.
325 If the property value begins with the ASCII character 0 followed by another
326 character, it is parsed as an octal integer exactly as by the method
327 (|java.lang.Long|) with radix 8. Otherwise the property value is parsed as a
328 decimal integer exactly as by the method (|java.lang.Long|) with radix 10.
330 Note that, in every case, neither L ('u004C') nor l ('u006C') is permitted to
331 appear at the end of the property value as a type indicator, as would be
332 permitted in Java programming language source code.
334 The second argument is the default value. The default value is returned if
335 there is no property of the specified name, if the property does not have the
336 correct numeric format, or if the specified name is empty or null.
341 Returns: the Long value of the property.
342 *java.lang.Long.hashCode()*
344 public int hashCode()
346 Returns a hash code for this Long. The result is the exclusive OR of the two
347 halves of the primitive long value held by this Long object. That is, the
348 hashcode is the value of the expression:
350 (int)(this.longValue()^(this.longValue()>>>32))
353 Returns: a hash code value for this object.
354 *java.lang.Long.highestOneBit(long)*
356 public static long highestOneBit(long i)
358 Returns an long value with at most a single one-bit, in the position of the
359 highest-order ("leftmost") one-bit in the specified long value. Returns zero if
360 the specified value has no one-bits in its two's complement binary
361 representation, that is, if it is equal to zero.
364 Returns: an long value with a single one-bit, in the position of the highest-order
365 one-bit in the specified value, or zero if the specified value is
366 itself equal to zero.
367 *java.lang.Long.intValue()*
369 public int intValue()
371 Returns the value of this Long as an int.
374 *java.lang.Long.longValue()*
376 public long longValue()
378 Returns the value of this Long as a long value.
381 *java.lang.Long.lowestOneBit(long)*
383 public static long lowestOneBit(long i)
385 Returns an long value with at most a single one-bit, in the position of the
386 lowest-order ("rightmost") one-bit in the specified long value. Returns zero if
387 the specified value has no one-bits in its two's complement binary
388 representation, that is, if it is equal to zero.
391 Returns: an long value with a single one-bit, in the position of the lowest-order
392 one-bit in the specified value, or zero if the specified value is
393 itself equal to zero.
394 *java.lang.Long.numberOfLeadingZeros(long)*
396 public static int numberOfLeadingZeros(long i)
398 Returns the number of zero bits preceding the highest-order ("leftmost")
399 one-bit in the two's complement binary representation of the specified long
400 value. Returns 64 if the specified value has no one-bits in its two's
401 complement representation, in other words if it is equal to zero.
403 Note that this method is closely related to the logarithm base 2. For all
404 positive long values x:
406 floor(log2(x)) = 63 - numberOfLeadingZeros(x) ceil(log2(x)) = 64 -
407 numberOfLeadingZeros(x - 1)
410 Returns: the number of zero bits preceding the highest-order ("leftmost") one-bit in the
411 two's complement binary representation of the specified long
412 value, or 64 if the value is equal to zero.
413 *java.lang.Long.numberOfTrailingZeros(long)*
415 public static int numberOfTrailingZeros(long i)
417 Returns the number of zero bits following the lowest-order ("rightmost")
418 one-bit in the two's complement binary representation of the specified long
419 value. Returns 64 if the specified value has no one-bits in its two's
420 complement representation, in other words if it is equal to zero.
423 Returns: the number of zero bits following the lowest-order ("rightmost") one-bit in the
424 two's complement binary representation of the specified long
425 value, or 64 if the value is equal to zero.
426 *java.lang.Long.parseLong(String)*
428 public static long parseLong(java.lang.String s)
429 throws |java.lang.NumberFormatException|
431 Parses the string argument as a signed decimal long. The characters in the
432 string must all be decimal digits, except that the first character may be an
433 ASCII minus sign '-' (u002D') to indicate a negative value. The resulting long
434 value is returned, exactly as if the argument and the radix 10 were given as
435 arguments to the (|java.lang.Long|) method.
437 Note that neither the character L ('u004C') nor l ('u006C') is permitted to
438 appear at the end of the string as a type indicator, as would be permitted in
439 Java programming language source code.
441 s - a String containing the long representation to be parsed
443 Returns: the long represented by the argument in decimal.
444 *java.lang.Long.parseLong(String,int)*
446 public static long parseLong(
449 throws |java.lang.NumberFormatException|
451 Parses the string argument as a signed long in the radix specified by the
452 second argument. The characters in the string must all be digits of the
453 specified radix (as determined by whether (|java.lang.Character|) returns a
454 nonnegative value), except that the first character may be an ASCII minus sign
455 '-' ('u002D') to indicate a negative value. The resulting long value is
458 Note that neither the character L ('u004C') nor l ('u006C') is permitted to
459 appear at the end of the string as a type indicator, as would be permitted in
460 Java programming language source code - except that either L or l may appear as
461 a digit for a radix greater than 22.
463 An exception of type NumberFormatException is thrown if any of the following
466 The first argument is null or is a string of length zero. The radix is either
467 smaller than (|java.lang.Character|) or larger than (|java.lang.Character|) .
468 Any character of the string is not a digit of the specified radix, except that
469 the first character may be a minus sign '-' ('u002d') provided that the string
470 is longer than length 1. The value represented by the string is not a value of
475 parseLong("0", 10) returns 0L parseLong("473", 10) returns 473L parseLong("-0",
476 10) returns 0L parseLong("-FF", 16) returns -255L parseLong("1100110", 2)
477 returns 102L parseLong("99", 8) throws a NumberFormatException
478 parseLong("Hazelnut", 10) throws a NumberFormatException parseLong("Hazelnut",
479 36) returns 1356099454469L
481 s - the String containing the long representation to be parsed.
482 radix - the radix to be used while parsing s.
484 Returns: the long represented by the string argument in the specified radix.
485 *java.lang.Long.reverse(long)*
487 public static long reverse(long i)
489 Returns the value obtained by reversing the order of the bits in the two's
490 complement binary representation of the specified long value.
493 Returns: the value obtained by reversing order of the bits in the specified long value.
494 *java.lang.Long.reverseBytes(long)*
496 public static long reverseBytes(long i)
498 Returns the value obtained by reversing the order of the bytes in the two's
499 complement representation of the specified long value.
502 Returns: the value obtained by reversing the bytes in the specified long value.
503 *java.lang.Long.rotateLeft(long,int)*
505 public static long rotateLeft(
509 Returns the value obtained by rotating the two's complement binary
510 representation of the specified long value left by the specified number of
511 bits. (Bits shifted out of the left hand, or high-order, side reenter on the
512 right, or low-order.)
514 Note that left rotation with a negative distance is equivalent to right
515 rotation: rotateLeft(val, -distance) == rotateRight(val, distance). Note also
516 that rotation by any multiple of 64 is a no-op, so all but the last six bits of
517 the rotation distance can be ignored, even if the distance is negative:
518 rotateLeft(val, distance) == rotateLeft(val, distance & 0x3F).
521 Returns: the value obtained by rotating the two's complement binary representation of
522 the specified long value left by the specified number of bits.
523 *java.lang.Long.rotateRight(long,int)*
525 public static long rotateRight(
529 Returns the value obtained by rotating the two's complement binary
530 representation of the specified long value right by the specified number of
531 bits. (Bits shifted out of the right hand, or low-order, side reenter on the
532 left, or high-order.)
534 Note that right rotation with a negative distance is equivalent to left
535 rotation: rotateRight(val, -distance) == rotateLeft(val, distance). Note also
536 that rotation by any multiple of 64 is a no-op, so all but the last six bits of
537 the rotation distance can be ignored, even if the distance is negative:
538 rotateRight(val, distance) == rotateRight(val, distance & 0x3F).
541 Returns: the value obtained by rotating the two's complement binary representation of
542 the specified long value right by the specified number of bits.
543 *java.lang.Long.shortValue()*
545 public short shortValue()
547 Returns the value of this Long as a short.
550 *java.lang.Long.signum(long)*
552 public static int signum(long i)
554 Returns the signum function of the specified long value. (The return value is
555 -1 if the specified value is negative; 0 if the specified value is zero; and 1
556 if the specified value is positive.)
559 Returns: the signum function of the specified long value.
560 *java.lang.Long.toBinaryString(long)*
562 public static |java.lang.String| toBinaryString(long i)
564 Returns a string representation of the long argument as an unsigned integer in
567 The unsigned long value is the argument plus 264 if the argument is negative;
568 otherwise, it is equal to the argument. This value is converted to a string of
569 ASCII digits in binary (base2) with no extra leading 0s. If the unsigned
570 magnitude is zero, it is represented by a single zero character '0' ('u0030');
571 otherwise, the first character of the representation of the unsigned magnitude
572 will not be the zero character. The characters '0' ('u0030') and '1' ('u0031')
573 are used as binary digits.
575 i - a long to be converted to a string.
577 Returns: the string representation of the unsigned long value represented by the
578 argument in binary (base2).
579 *java.lang.Long.toHexString(long)*
581 public static |java.lang.String| toHexString(long i)
583 Returns a string representation of the long argument as an unsigned integer in
586 The unsigned long value is the argument plus 264 if the argument is negative;
587 otherwise, it is equal to the argument. This value is converted to a string of
588 ASCII digits in hexadecimal (base16) with no extra leading 0s. If the unsigned
589 magnitude is zero, it is represented by a single zero character '0' ('u0030');
590 otherwise, the first character of the representation of the unsigned magnitude
591 will not be the zero character. The following characters are used as
596 These are the characters 'u0030' through 'u0039' and 'u0061' through 'u0066'.
597 If uppercase letters are desired, the (|java.lang.String|) method may be called
600 Long.toHexString(n).toUpperCase()
602 i - a long to be converted to a string.
604 Returns: the string representation of the unsigned long value represented by the
605 argument in hexadecimal (base16).
606 *java.lang.Long.toOctalString(long)*
608 public static |java.lang.String| toOctalString(long i)
610 Returns a string representation of the long argument as an unsigned integer in
613 The unsigned long value is the argument plus 264 if the argument is negative;
614 otherwise, it is equal to the argument. This value is converted to a string of
615 ASCII digits in octal (base8) with no extra leading 0s.
617 If the unsigned magnitude is zero, it is represented by a single zero character
618 '0' ('u0030'); otherwise, the first character of the representation of the
619 unsigned magnitude will not be the zero character. The following characters are
620 used as octal digits:
624 These are the characters 'u0030' through 'u0037'.
626 i - a long to be converted to a string.
628 Returns: the string representation of the unsigned long value represented by the
629 argument in octal (base8).
630 *java.lang.Long.toString()*
632 public |java.lang.String| toString()
634 Returns a String object representing this Long's value. The value is converted
635 to signed decimal representation and returned as a string, exactly as if the
636 long value were given as an argument to the (|java.lang.Long|) method.
639 Returns: a string representation of the value of this object in base10.
640 *java.lang.Long.toString(long)*
642 public static |java.lang.String| toString(long i)
644 Returns a String object representing the specified long. The argument is
645 converted to signed decimal representation and returned as a string, exactly as
646 if the argument and the radix 10 were given as arguments to the
647 (|java.lang.Long|) method.
649 i - a long to be converted.
651 Returns: a string representation of the argument in base10.
652 *java.lang.Long.toString(long,int)*
654 public static |java.lang.String| toString(
658 Returns a string representation of the first argument in the radix specified by
661 If the radix is smaller than Character.MIN_RADIX or larger than
662 Character.MAX_RADIX, then the radix 10 is used instead.
664 If the first argument is negative, the first element of the result is the ASCII
665 minus sign '-' ('u002d'). If the first argument is not negative, no sign
666 character appears in the result.
668 The remaining characters of the result represent the magnitude of the first
669 argument. If the magnitude is zero, it is represented by a single zero
670 character '0' ('u0030'); otherwise, the first character of the representation
671 of the magnitude will not be the zero character. The following ASCII characters
674 0123456789abcdefghijklmnopqrstuvwxyz
676 These are 'u0030' through 'u0039' and 'u0061' through 'u007a'. If radix is N,
677 then the first N of these characters are used as radix-N digits in the order
678 shown. Thus, the digits for hexadecimal (radix 16) are 0123456789abcdef. If
679 uppercase letters are desired, the (|java.lang.String|) method may be called on
682 Long.toString(n, 16).toUpperCase()
684 i - a longto be converted to a string.
685 radix - the radix to use in the string representation.
687 Returns: a string representation of the argument in the specified radix.
688 *java.lang.Long.valueOf(long)*
690 public static |java.lang.Long| valueOf(long l)
692 Returns a Long instance representing the specified long value. If a new Long
693 instance is not required, this method should generally be used in preference to
694 the constructor (|java.lang.Long|) , as this method is likely to yield
695 significantly better space and time performance by caching frequently requested
700 Returns: a Long instance representing l.
701 *java.lang.Long.valueOf(String)*
703 public static |java.lang.Long| valueOf(java.lang.String s)
704 throws |java.lang.NumberFormatException|
706 Returns a Long object holding the value of the specified String. The argument
707 is interpreted as representing a signed decimal long, exactly as if the
708 argument were given to the (|java.lang.Long|) method. The result is a Long
709 object that represents the integer value specified by the string.
711 In other words, this method returns a Long object equal to the value of:
715 new Long(Long.parseLong(s))
717 s - the string to be parsed.
719 Returns: a Long object holding the value represented by the string argument.
720 *java.lang.Long.valueOf(String,int)*
722 public static |java.lang.Long| valueOf(
725 throws |java.lang.NumberFormatException|
727 Returns a Long object holding the value extracted from the specified String
728 when parsed with the radix given by the second argument. The first argument is
729 interpreted as representing a signed long in the radix specified by the second
730 argument, exactly as if the arguments were given to the (|java.lang.Long|)
731 method. The result is a Long object that represents the long value specified by
734 In other words, this method returns a Long object equal to the value of:
736 new Long(Long.parseLong(s, radix))
738 s - the string to be parsed
739 radix - the radix to be used in interpreting s
741 Returns: a Long object holding the value represented by the string argument in the