src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/FCONST.java
changeset 48041 2743e489189e
parent 47216 71c04702a3d5
child 55496 8e0ae3830fca
equal deleted inserted replaced
48040:26f1193f1348 48041:2743e489189e
    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: ... -&gt; ..., </PRE>
    26  * <PRE>Stack: ... -&gt; ..., </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      */