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

📄 hellohelper.java

📁 初期JAVA学习非常有用的资料。帮助深入了解API。特别是Applet。
💻 JAVA
字号:
/* * File: ./HelloApp/HelloHelper.java * From: Hello.idl * Date: Thu Sep  3 09:46:22 1998 *   By: idltojava Java IDL 1.2 Nov 12 1997 12:23:47 */package HelloApp;public class HelloHelper {     // It is useless to have instances of this class     private HelloHelper() { }    public static void write(org.omg.CORBA.portable.OutputStream out, HelloApp.Hello that) {        out.write_Object(that);    }    public static HelloApp.Hello read(org.omg.CORBA.portable.InputStream in) {        return HelloApp.HelloHelper.narrow(in.read_Object());    }   public static HelloApp.Hello extract(org.omg.CORBA.Any a) {     org.omg.CORBA.portable.InputStream in = a.create_input_stream();     return read(in);   }   public static void insert(org.omg.CORBA.Any a, HelloApp.Hello that) {     org.omg.CORBA.portable.OutputStream out = a.create_output_stream();     write(out, that);     a.read_value(out.create_input_stream(), type());   }   private static org.omg.CORBA.TypeCode _tc;   synchronized public static org.omg.CORBA.TypeCode type() {          if (_tc == null)             _tc = org.omg.CORBA.ORB.init().create_interface_tc(id(), "Hello");      return _tc;   }   public static String id() {       return "IDL:HelloApp/Hello:1.0";   }   public static HelloApp.Hello narrow(org.omg.CORBA.Object that)	    throws org.omg.CORBA.BAD_PARAM {        if (that == null)            return null;        if (that instanceof HelloApp.Hello)            return (HelloApp.Hello) that;	if (!that._is_a(id())) {	    throw new org.omg.CORBA.BAD_PARAM();	}        org.omg.CORBA.portable.Delegate dup = ((org.omg.CORBA.portable.ObjectImpl)that)._get_delegate();        HelloApp.Hello result = new HelloApp._HelloStub(dup);        return result;   }}

⌨️ 快捷键说明

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