ldc_w.java

来自「代码是一个分类器的实现,其中使用了部分weka的源代码。可以将项目导入eclip」· Java 代码 · 共 34 行

JAVA
34
字号
package de.fub.bytecode.generic;import java.io.IOException;import de.fub.bytecode.util.ByteSequence;/**  * LDC_W - Push item from constant pool (wide index) * * <PRE>Stack: ... -&gt; ..., item.word1, item.word2</PRE> * * @version $Id: LDC_W.java,v 1.5 2001/05/09 09:26:57 dahm Exp $ * @author  <A HREF="http://www.berlin.de/~markus.dahm/">M. Dahm</A> */public class LDC_W extends LDC {  /**   * Empty constructor needed for the Class.newInstance() statement in   * Instruction.readInstruction(). Not to be used otherwise.   */  LDC_W() {}  public LDC_W(int index) {    super(index);  }  /**   * Read needed data (i.e., index) from file.   */  protected void initFromFile(ByteSequence bytes, boolean wide)       throws IOException  {    setIndex(bytes.readUnsignedShort());    length = 3;  }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?