ConstantLong (Apache Tomcat 11.0.23 API Documentation)
Description: declaration: package: org.apache.tomcat.util.bcel.classfile, class: ConstantLong

# Class ConstantLong

java.lang.Object
org.apache.tomcat.util.bcel.classfile.Constant
org.apache.tomcat.util.bcel.classfile.ConstantLong

public final class ConstantLong extends Constant
This class is derived from the abstract `Constant` and represents a reference to a long object.

See Also:
  - `Constant`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `long`
  `getBytes()`
  Get the 8-byte long value stored in this constant pool entry.

  ### Methods inherited from class Constant

  `getTag, toString`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### getBytes

    public long getBytes()
    Get the 8-byte long value stored in this constant pool entry.
    Returns:
      the long value