All Implemented Interfaces:
Comparable<CPDouble>

public class CPDouble extends CPConstant<CPDouble>
Constant pool entry for a double.
  • Field Details

    • value

      private final double value
  • Constructor Details

    • CPDouble

      public CPDouble(double value)
      Constructs a new instance.
      Parameters:
      value - The value.
  • Method Details

    • compareTo

      public int compareTo(CPDouble obj)
    • getDouble

      public double getDouble()