Share via


Class java.lang.Long

Class Members | This Package | All Packages

java.lang.Object
   |
   +----java.lang.Number
           |
           +----java.lang.Long

public final class Long** extends Number

The Long class wraps a value of the primitive type long in an object. An object of type Long contains a single field whose type is long.

In addition, this class provides several methods for converting a long to a String and a String to a long, as well as other constants and methods useful when dealing with a long.