net.sf.transjvm
Class Case

java.lang.Object
  extended by net.sf.transjvm.Case

public class Case
extends java.lang.Object

Class representing an individual case within a switch statement.

Author:
Mark Shannon

Constructor Summary
Case(int value, Label target)
          Constructs a Case object
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Case

public Case(int value,
            Label target)
Constructs a Case object

Parameters:
value - The value for this Case.
target - The label to jump to if the switch expression matches the case value.


Copyright 2004-5, Mark Shannon