Module java.base
Package java.lang

# Class Long

=
public final class Long
extends java.lang.Number
implements java.lang.Comparable<java.lang.Long>, java.lang.constant.Constable, java.lang.constant.ConstantDesc

## Fields

- =
  public static final int BYTES = 8
- =
  public static final long MAX_VALUE = 9223372036854775807
- =
  public static final long MIN_VALUE = -9223372036854775808
- =
  public static final int SIZE = 64
- =
  public static final java.lang.Class<java.lang.Long> TYPE

## Constructors

- =
  @Deprecated(since="9"forRemoval=true)
  public Long(long arg0)
- =
  @Deprecated(since="9"forRemoval=true)
  public Long(java.lang.String arg0) throws java.lang.NumberFormatException

## Methods

- =
  public static int bitCount(long arg0)
- =
  public byte byteValue()
- =
  public static int compare(long arg0, long arg1)
- =
  public int compareTo(java.lang.Long arg0)
- =
  public static int compareUnsigned(long arg0, long arg1)
- =
  public static long compress(long arg0, long arg1)
- =
  public static java.lang.Long decode(java.lang.String arg0) throws java.lang.NumberFormatException
- =
  public java.util.Optional<java.lang.Long> describeConstable()
- =
  public static long divideUnsigned(long arg0, long arg1)
- =
  public double doubleValue()
- =
  public boolean equals(java.lang.Object arg0)
- =
  public static long expand(long arg0, long arg1)
- =
  public float floatValue()
- =
  public static java.lang.Long getLong(java.lang.String arg0)
- =
  public static java.lang.Long getLong(java.lang.String arg0, long arg1)
- =
  public static java.lang.Long getLong(java.lang.String arg0, java.lang.Long arg1)
- =
  public int hashCode()
- =
  public static int hashCode(long arg0)
- =
  public static long highestOneBit(long arg0)
- =
  public int intValue()
- =
  public long longValue()
- =
  public static long lowestOneBit(long arg0)
- =
  public static long max(long arg0, long arg1)
- =
  public static long min(long arg0, long arg1)
- =
  public static int numberOfLeadingZeros(long arg0)
- =
  public static int numberOfTrailingZeros(long arg0)
- =
  public static long parseLong(java.lang.CharSequence arg0, int arg1, int arg2, int arg3) throws java.lang.NumberFormatException
- =
  public static long parseLong(java.lang.String arg0) throws java.lang.NumberFormatException
- =
  public static long parseLong(java.lang.String arg0, int arg1) throws java.lang.NumberFormatException
- =
  public static long parseUnsignedLong(java.lang.CharSequence arg0, int arg1, int arg2, int arg3) throws java.lang.NumberFormatException
- =
  public static long parseUnsignedLong(java.lang.String arg0) throws java.lang.NumberFormatException
- =
  public static long parseUnsignedLong(java.lang.String arg0, int arg1) throws java.lang.NumberFormatException
- =
  public static long remainderUnsigned(long arg0, long arg1)
- =
  public java.lang.Long resolveConstantDesc(java.lang.invoke.MethodHandles.Lookup arg0)
- =
  public static long reverse(long arg0)
- =
  public static long reverseBytes(long arg0)
- =
  public static long rotateLeft(long arg0, int arg1)
- =
  public static long rotateRight(long arg0, int arg1)
- =
  public short shortValue()
- =
  public static int signum(long arg0)
- =
  public static long sum(long arg0, long arg1)
- =
  public static java.lang.String toBinaryString(long arg0)
- =
  public static java.lang.String toHexString(long arg0)
- =
  public static java.lang.String toOctalString(long arg0)
- =
  public java.lang.String toString()
- =
  public static java.lang.String toString(long arg0)
- =
  public static java.lang.String toString(long arg0, int arg1)
- =
  public static java.lang.String toUnsignedString(long arg0)
- =
  public static java.lang.String toUnsignedString(long arg0, int arg1)
- =
  public static java.lang.Long valueOf(long arg0)
- =
  public static java.lang.Long valueOf(java.lang.String arg0) throws java.lang.NumberFormatException
- =
  public static java.lang.Long valueOf(java.lang.String arg0, int arg1) throws java.lang.NumberFormatException

## Serialized Form

=

### serialVersionUID

=4290774380558885855

### Serialized Fields

- =
  long value

## Summary

No differences.