connection.java

来自「Java的面向对象数据库系统的源代码」· Java 代码 · 共 39 行

JAVA
39
字号
// $Id: Connection.java,v 1.5 2000/11/29 17:34:55 daniela Exp $import java.io.*;public class Connection implements Serializable {        protected Part p;        protected String type = "conn";        protected int length;            public Connection() {    }            public Connection( Part part ) {        p = part;    }        //   public void writeExternal (ObjectOutput out) throws IOException {    //      out.writeObject (p);    //      out.writeObject (type);    //      out.writeInt (length);    //      }    //    //   public void readExternal (ObjectInput in) throws IOException, ClassNotFoundException {    //      p = (Part)in.readObject();    //      type = (DxString)in.readObject();    //      length = in.readInt();    //      }            public void done() throws Exception {    } }

⌨️ 快捷键说明

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