FileDocCategorySizeDatePackage
SWAP.javaAPI DocJava SE 6 API3594Tue Jun 10 00:22:22 BST 2008com.sun.org.apache.bcel.internal.generic

SWAP

public class SWAP extends StackInstruction implements StackProducer, StackConsumer
SWAP - Swa top operand stack word
Stack: ..., word2, word1 -> ..., word1, word2
version
$Id: SWAP.java,v 1.1.2.1 2005/07/31 23:44:59 jeffsuttor Exp $
author
M. Dahm

Fields Summary
Constructors Summary
public SWAP()

    super(com.sun.org.apache.bcel.internal.Constants.SWAP);
  
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.visitStackConsumer(this);
    v.visitStackProducer(this);
    v.visitStackInstruction(this);
    v.visitSWAP(this);