vm_client.java~2~
来自「Java源码」· JAVA~2~ 代码 · 共 24 行
JAVA~2~
24 行
package AM.vm_impl.test;
/**
* Created by IntelliJ IDEA. User: yellowicq Date: 2004-4-27 Time: 12:45:25
* To change this template use File | Settings | File Templates.
*/
import java.io.IOException;
import AM.am_data_structure.Stream;
import AM.am_data_structure.AbstractMachineState;
import AM.vm_impl.vm_data_structure.VM_Factory;
class VM_Client {
static public void main(String[] args) throws IOException {
Stream targetCode = new Stream(args[0]);
VM_Factory factory = new VM_Factory();
AbstractMachineState machine = new AbstractMachineState(factory);
machine.Init(targetCode);
machine.Transition();
}
/** @link dependency */
/*# AbstractMachineState lnkAbstractMachineState; */
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?