src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/ConstantDouble.java
equal
deleted
inserted
replaced
30 * This class is derived from the abstract {@link Constant} |
30 * This class is derived from the abstract {@link Constant} |
31 * and represents a reference to a Double object. |
31 * and represents a reference to a Double object. |
32 * |
32 * |
33 * @version $Id: ConstantDouble.java 1747278 2016-06-07 17:28:43Z britter $ |
33 * @version $Id: ConstantDouble.java 1747278 2016-06-07 17:28:43Z britter $ |
34 * @see Constant |
34 * @see Constant |
|
35 * @LastModified: Nov 2017 |
35 */ |
36 */ |
36 public final class ConstantDouble extends Constant implements ConstantObject { |
37 public final class ConstantDouble extends Constant implements ConstantObject { |
37 |
38 |
38 private double bytes; |
39 private double bytes; |
39 |
40 |
119 |
120 |
120 /** @return Double object |
121 /** @return Double object |
121 */ |
122 */ |
122 @Override |
123 @Override |
123 public Object getConstantValue( final ConstantPool cp ) { |
124 public Object getConstantValue( final ConstantPool cp ) { |
124 return new Double(bytes); |
125 return bytes; |
125 } |
126 } |
126 } |
127 } |