FileDocCategorySizeDatePackage
DUP2.javaAPI DocJava SE 5 API3605Fri Aug 26 14:55:20 BST 2005com.sun.org.apache.bcel.internal.generic

DUP2

public class DUP2 extends StackInstruction implements PushInstruction
DUP2 - Duplicate two top operand stack words
Stack: ..., word2, word1 -> ..., word2, word1, word2, word1
version
$Id: DUP2.java,v 1.1.1.1 2001/10/29 20:00:10 jvanzyl Exp $
author
M. Dahm

Fields Summary
Constructors Summary
public DUP2()

    super(com.sun.org.apache.bcel.internal.Constants.DUP2);
  
Methods Summary
public voidaccept(com.sun.org.apache.bcel.internal.generic.Visitor v)
Call corresponding visitor method(s). The order is: Call visitor methods of implemented interfaces first, then call methods according to the class hierarchy in descending order, i.e., the most specific visitXXX() call comes last.

param
v Visitor object

    v.visitStackProducer(this);
    v.visitPushInstruction(this);
    v.visitStackInstruction(this);
    v.visitDUP2(this);