⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ldc_w.java

📁 代码是一个分类器的实现,其中使用了部分weka的源代码。可以将项目导入eclipse运行
💻 JAVA
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -