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

DUP

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

Fields Summary
Constructors Summary
public DUP()

    super(com.sun.org.apache.bcel.internal.Constants.DUP);
  
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.visitDUP(this);