## Uses of Class
java.lang.Long

- Packages that use Long
  Package | Description
  --- | ---
  java.lang |

- - ### Uses of Long in java.lang

    Fields in java.lang with type parameters of type Long
    Modifier and Type | Field and Description
    --- | ---
    `static Class<Long>` | Long.`TYPE` The `Class` instance representing the primitive type `long`.

    Methods in java.lang that return Long
    Modifier and Type | Method and Description
    --- | ---
    `static Long` | Long.`decode(String nm)` Decodes a `String` into a `Long`.
    `static Long` | Long.`getLong(String nm)` Determines the `long` value of the system property with the specified name.
    `static Long` | Long.`getLong(String nm, long val)` Determines the `long` value of the system property with the specified name.
    `static Long` | Long.`getLong(String nm, Long val)` Returns the `long` value of the system property with the specified name.
    `static Long` | Long.`valueOf(long l)` Returns a `Long` instance representing the specified `long` value.
    `static Long` | Long.`valueOf(String s)` Returns a `Long` object holding the value of the specified `String`.
    `static Long` | Long.`valueOf(String s, int radix)` Returns a `Long` object holding the value extracted from the specified `String` when parsed with the radix given by the second argument.

    Methods in java.lang with parameters of type Long
    Modifier and Type | Method and Description
    --- | ---
    `int` | Long.`compareTo(Long anotherLong)` Compares two `Long` objects numerically.
    `static Long` | Long.`getLong(String nm, Long val)` Returns the `long` value of the system property with the specified name.

Copyright © 2025 API Design. All Rights Reserved.