1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.bcel.generic;
18
19 /***
20 * D2F - Convert double to float
21 * <PRE>Stack: ..., value.word1, value.word2 -> ..., result</PRE>
22 *
23 * @version $Id: D2F.java 386056 2006-03-15 11:31:56Z tcurdt $
24 * @author <A HREF="mailto:m.dahm@gmx.de">M. Dahm</A>
25 */
26 public class D2F extends ConversionInstruction {
27
28 /*** Convert double to float
29 */
30 public D2F() {
31 super(org.apache.bcel.Constants.D2F);
32 }
33
34
35 /***
36 * Call corresponding visitor method(s). The order is:
37 * Call visitor methods of implemented interfaces first, then
38 * call methods according to the class hierarchy in descending order,
39 * i.e., the most specific visitXXX() call comes last.
40 *
41 * @param v Visitor object
42 */
43 public void accept( Visitor v ) {
44 v.visitTypedInstruction(this);
45 v.visitStackProducer(this);
46 v.visitStackConsumer(this);
47 v.visitConversionInstruction(this);
48 v.visitD2F(this);
49 }
50 }