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

IDIV

public class IDIV extends ArithmeticInstruction implements ExceptionThrower
IDIV - Divide ints
Stack: ..., value1, value2 -> result
version
$Id: IDIV.java,v 1.1.2.1 2005/07/31 23:44:55 jeffsuttor Exp $
author
M. Dahm

Fields Summary
Constructors Summary
public IDIV()
Divide ints

    super(com.sun.org.apache.bcel.internal.Constants.IDIV);
  
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.visitExceptionThrower(this);
    v.visitTypedInstruction(this);
    v.visitStackProducer(this);
    v.visitStackConsumer(this);
    v.visitArithmeticInstruction(this);
    v.visitIDIV(this);
  
public java.lang.Class[]getExceptions()

return
exceptions this instruction may cause

    return new Class[] { com.sun.org.apache.bcel.internal.ExceptionConstants.ARITHMETIC_EXCEPTION };