Class LongConstant

java.lang.Object
classycle.classfile.Constant
classycle.classfile.LongConstant

public class LongConstant extends Constant
Constant representing a long value.
Author:
Franz-Josef Elmer
  • Constructor Details

    • LongConstant

      public LongConstant(Constant[] pool, long value)
      Creates an instance for the specified long value.
  • Method Details

    • getValue

      public long getValue()
      Returns the wrapped long value.
    • toString

      public String toString()
      Returns the constant type and the long value.
      Overrides:
      toString in class Object