equal
deleted
inserted
replaced
24 * FCONST - Push 0.0, 1.0 or 2.0, other values cause an exception |
24 * FCONST - Push 0.0, 1.0 or 2.0, other values cause an exception |
25 * |
25 * |
26 * <PRE>Stack: ... -> ..., </PRE> |
26 * <PRE>Stack: ... -> ..., </PRE> |
27 * |
27 * |
28 * @version $Id: FCONST.java 1747278 2016-06-07 17:28:43Z britter $ |
28 * @version $Id: FCONST.java 1747278 2016-06-07 17:28:43Z britter $ |
|
29 * @LastModified: Nov 2017 |
29 */ |
30 */ |
30 public class FCONST extends Instruction implements ConstantPushInstruction { |
31 public class FCONST extends Instruction implements ConstantPushInstruction { |
31 |
32 |
32 private float value; |
33 private float value; |
33 |
34 |
55 } |
56 } |
56 |
57 |
57 |
58 |
58 @Override |
59 @Override |
59 public Number getValue() { |
60 public Number getValue() { |
60 return new Float(value); |
61 return value; |
61 } |
62 } |
62 |
63 |
63 |
64 |
64 /** @return Type.FLOAT |
65 /** @return Type.FLOAT |
65 */ |
66 */ |