FileDocCategorySizeDatePackage
DUP2.javaAPI DocJava SE 6 API3608Tue Jun 10 00:22:18 BST 2008com.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.2.1 2005/07/31 23:45:11 jeffsuttor 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);