emulatortype.java
来自「MoMEUnit是一个单元测试的J2ME的应用程序xUnit架构实例。这是来自J」· Java 代码 · 共 50 行
JAVA
50 行
package org.momeunit.ant.taskdefs;import org.momeunit.ant.core.EnumType;/** * Class that represents type of emulator. * * @author Sergio Morozov. * @version 1.1.2 */public class EmulatorType extends EnumType{ private static final String[] VALUES = { "sun" }; private static final String[] CLASSNAMES = { "org.momeunit.ant.emulator.SunEmulator" }; /** * Instantiates EmulatorType initialized with given value. * * @param value * String value EmulatorType to be initialized with. * @since 1.1.2 */ public EmulatorType(String value) { super(value); } /* * (non-Javadoc) * * @see org.momeunit.ant.core.EnumType#getValues() */ protected String[] getValues() { return VALUES; } /** * Returns classname associated with this type. * * @return classname associated with this type. * @since 1.1.2 */ public String getClassName() { return CLASSNAMES[this.getIndex()]; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?