record.java

来自「J2ME编的手机助手 文件下载解压缩以后,是一个NetBeans的工程」· Java 代码 · 共 29 行

JAVA
29
字号
/*
 * Record.java
 * 一笔记录的接口表现形式
 * Created on 2007年3月11日, 下午5:28
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package net.bccn.account.util;

import java.io.IOException;
import javax.microedition.rms.RecordComparator;
import javax.microedition.rms.RecordFilter;

/**
 *
 * @author hadeslee
 */
public interface Record extends RecordFilter,RecordComparator {
    
    /** Creates a new instance of Record */
   void fromBytes(byte[] data)throws IOException;
   byte[] toBytes()throws IOException;
   int getID();
   void setID(int id);
   Record getEmptyRecord();
}

⌨️ 快捷键说明

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