silentinterface.java
来自「Sunflow是一个照片级的渲染系统」· Java 代码 · 共 23 行
JAVA
23 行
package org.sunflow.system.ui;
import org.sunflow.system.UserInterface;
import org.sunflow.system.UI.Module;
import org.sunflow.system.UI.PrintLevel;
/**
* Null implementation of a user interface. This is usefull to silence the
* output.
*/
public class SilentInterface implements UserInterface {
public void print(Module m, PrintLevel level, String s) {
}
public void taskStart(String s, int min, int max) {
}
public void taskUpdate(int current) {
}
public void taskStop() {
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?