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

IF_ICMPEQ

public class IF_ICMPEQ extends IfInstruction
IF_ICMPEQ - Branch if int comparison succeeds
Stack: ..., value1, value2 -> ...
version
$Id: IF_ICMPEQ.java,v 1.1.1.1 2001/10/29 20:00:15 jvanzyl Exp $
author
M. Dahm

Fields Summary
Constructors Summary
IF_ICMPEQ()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). Not to be used otherwise.

public IF_ICMPEQ(InstructionHandle target)

    super(com.sun.org.apache.bcel.internal.Constants.IF_ICMPEQ, target);
  
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.visitBranchInstruction(this);
    v.visitIfInstruction(this);
    v.visitIF_ICMPEQ(this);
  
public com.sun.org.apache.bcel.internal.generic.IfInstructionnegate()

return
negation of instruction

    return new IF_ICMPNE(target);