Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

LOOKUPSWITCH Class Reference

Inheritance diagram for LOOKUPSWITCH:
[legend]
Collaboration diagram for LOOKUPSWITCH:
[legend]
List of all members.

Public Methods

 LOOKUPSWITCH (int[] match, InstructionHandle[] targets, InstructionHandle target)
void dump (DataOutputStream out) throws IOException
 LOOKUPSWITCH (int[] match, InstructionHandle[] targets, InstructionHandle target)
void accept (Visitor v)
void dump (DataOutputStream out) throws IOException
Instruction execute (SystemState ss, KernelState ks, ThreadInfo th)
void setPeer (de.fub.bytecode.generic.Instruction i, ConstantPool cp)

Protected Methods

void initFromFile (ByteSequence bytes, boolean wide) throws IOException
void initFromFile (ByteSequence bytes, boolean wide) throws IOException

Private Methods

 LOOKUPSWITCH ()
 LOOKUPSWITCH ()

Private Attributes

int target
int[] matches
int[] targets

Detailed Description

LOOKUPSWITCH - Switch with unordered set of values

Version:
Id:
LOOKUPSWITCH.java,v 1.1.1.1 2002/01/24 03:44:06 pserver Exp
Author:
M. Dahm
See also:
SWITCH

Definition at line 13 of file lib/jpf/de/fub/bytecode/generic/LOOKUPSWITCH.java.


Constructor & Destructor Documentation

LOOKUPSWITCH::LOOKUPSWITCH   [inline, private]
 

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

Definition at line 18 of file lib/jpf/de/fub/bytecode/generic/LOOKUPSWITCH.java.

LOOKUPSWITCH::LOOKUPSWITCH   [inline, private]
 

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

Definition at line 18 of file src/de/fub/bytecode/generic/LOOKUPSWITCH.java.


Member Function Documentation

void LOOKUPSWITCH::accept Visitor   v [inline, virtual]
 

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.

Parameters:
v   Visitor object

Reimplemented from Instruction.

Definition at line 35 of file src/de/fub/bytecode/generic/LOOKUPSWITCH.java.

void LOOKUPSWITCH::dump DataOutputStream   out [inline]
 

Dump instruction as byte code to stream out.

Parameters:
out   Output stream

Reimplemented from Instruction.

Definition at line 47 of file src/de/fub/bytecode/generic/LOOKUPSWITCH.java.

void LOOKUPSWITCH::dump DataOutputStream   out [inline]
 

Dump instruction as byte code to stream out.

Parameters:
out   Output stream

Reimplemented from Instruction.

Definition at line 31 of file lib/jpf/de/fub/bytecode/generic/LOOKUPSWITCH.java.

void LOOKUPSWITCH::initFromFile ByteSequence   bytes,
boolean   wide
[inline, protected]
 

Read needed data (e.g. index) from file.

Reimplemented from Instruction.

Definition at line 59 of file src/de/fub/bytecode/generic/LOOKUPSWITCH.java.

void LOOKUPSWITCH::initFromFile ByteSequence   bytes,
boolean   wide
[inline, protected]
 

Read needed data (e.g. index) from file.

Reimplemented from Instruction.

Definition at line 43 of file lib/jpf/de/fub/bytecode/generic/LOOKUPSWITCH.java.


The documentation for this class was generated from the following files:
Generated at Thu Feb 7 07:19:26 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001