Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class DE.fub.inf.JVM.ClassGen.TABLESWITCH

java.lang.Object
  |
  +--DE.fub.inf.JVM.ClassGen.Instruction
        |
        +--DE.fub.inf.JVM.ClassGen.BranchInstruction
              |
              +--DE.fub.inf.JVM.ClassGen.Select
                    |
                    +--DE.fub.inf.JVM.ClassGen.TABLESWITCH

public class TABLESWITCH
extends Select
TABLESWITCH - Switch within given range of values, i.e. low..high

Version:
$Id: TABLESWITCH.java,v 1.1 1998/07/01 13:08:07 dahm Exp $
Author:
M. Dahm
See Also:
Serialized Form

Fields inherited from class DE.fub.inf.JVM.ClassGen.Select
fixed_length, indices, match_length, match, targets
 
Fields inherited from class DE.fub.inf.JVM.ClassGen.BranchInstruction
index, target
 
Fields inherited from class DE.fub.inf.JVM.ClassGen.Instruction
length, position, tag
 
Constructor Summary
TABLESWITCH(int[] match, InstructionHandle[] targets, InstructionHandle target)
           
 
Method Summary
void dump(java.io.DataOutputStream out)
          Dump instruction as byte code to stream out.
void initFromFile(ByteSequence bytes, boolean wide)
          Read needed data (e.g. index) from file.
 
Methods inherited from class DE.fub.inf.JVM.ClassGen.Select
dump, getIndices, getMatchs, getTargets, initFromFile, toString, updatePosition
 
Methods inherited from class DE.fub.inf.JVM.ClassGen.BranchInstruction
dump, getTarget, getTargetOffset, getTargetOffset, getTargetOffset, initFromFile, setTarget, toString
 
Methods inherited from class DE.fub.inf.JVM.ClassGen.Instruction
consumeStack, dump, getInstructionList, getLength, getPosition, getTag, initFromFile, produceStack, readInstruction, setPosition, toString, toString, toString, updatePosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Constructor Detail

TABLESWITCH

public TABLESWITCH(int[] match,
                   InstructionHandle[] targets,
                   InstructionHandle target)
Method Detail

dump

public void dump(java.io.DataOutputStream out)
         throws java.io.IOException
Dump instruction as byte code to stream out.
Parameters:
out - Output stream
Overrides:
dump in class Select

initFromFile

protected void initFromFile(ByteSequence bytes,
                            boolean wide)
                    throws java.io.IOException
Read needed data (e.g. index) from file.
Overrides:
initFromFile in class Select

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD