vmconststring.java
来自「纯java操作系统jnode,安装简单和操作简单的个人使用的Java操作系统」· Java 代码 · 共 33 行
JAVA
33 行
/*
* $Id: VmConstString.java,v 1.2 2004/02/24 08:04:15 epr Exp $
*/
package org.jnode.vm.classmgr;
import org.jnode.vm.VmSystemObject;
/**
* @author Ewout Prangsma (epr@users.sourceforge.net)
*/
public final class VmConstString extends VmSystemObject implements VmStaticsEntry {
/** Index in the statics table of the string constant. */
private final int staticsIndex;
/**
* Initialize this instance.
* @param staticsIndex
*/
public VmConstString(int staticsIndex) {
this.staticsIndex = staticsIndex;
}
/**
* Gets the index in the statics table of the string constants.
* @return Returns the staticsIndex.
*/
public final int getStaticsIndex() {
return this.staticsIndex;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?