anvil.codec
Class Switch

java.lang.Object
  |
  +--anvil.codec.Switch

public class Switch
extends java.lang.Object


Nested Class Summary
 class Switch.Case
           
 
Field Summary
protected  int _address
           
protected  Code _code
           
protected  Source _default
           
protected  java.util.TreeMap _map
           
 
Constructor Summary
Switch(Code code)
           
 
Method Summary
 void addCase(int key)
           
 void bindCase(int key)
           
 void bindDefault()
           
 void end()
           
 java.util.Iterator getCases()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_code

protected Code _code

_map

protected java.util.TreeMap _map

_default

protected Source _default

_address

protected int _address
Constructor Detail

Switch

public Switch(Code code)
Method Detail

addCase

public void addCase(int key)

end

public void end()

getCases

public java.util.Iterator getCases()

bindCase

public void bindCase(int key)

bindDefault

public void bindDefault()