muskel
Class CodeStorage

java.lang.Object
  extended by muskel.CodeStorage
All Implemented Interfaces:
java.io.Serializable

public class CodeStorage
extends java.lang.Object
implements java.io.Serializable

this is used to store the OpCodes in such a way that indexes are passed with MDFi, rather than serialized code (which can be huge) The code is serialized just once, at the very beginning of the computation

See Also:
Serialized Form

Constructor Summary
CodeStorage()
           
 
Method Summary
 OpCode getOpCode(int index)
           
 int store(OpCode op)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CodeStorage

public CodeStorage()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

store

public int store(OpCode op)

getOpCode

public OpCode getOpCode(int index)
                 throws OpCodeNotPresentException
Throws:
OpCodeNotPresentException