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

📄 methodmainclass_stub.java

📁 jbuilder2006一书的所有源代码
💻 JAVA
字号:
// Stub class generated by rmic, do not edit.
// Contents subject to change without notice.

package rmi;

public final class MethodMainClass_Stub
    extends java.rmi.server.RemoteStub
    implements rmi.MethodRemote, java.rmi.Remote
{
    private static final long serialVersionUID = 2;
    
    private static java.lang.reflect.Method $method_addMethod_0;
    
    static {
	try {
	    $method_addMethod_0 = rmi.MethodRemote.class.getMethod("addMethod", new java.lang.Class[] {double.class, double.class});
	} catch (java.lang.NoSuchMethodException e) {
	    throw new java.lang.NoSuchMethodError(
		"stub class initialization failed");
	}
    }
    
    // constructors
    public MethodMainClass_Stub(java.rmi.server.RemoteRef ref) {
	super(ref);
    }
    
    // methods from remote interfaces
    
    // implementation of addMethod(double, double)
    public java.lang.String addMethod(double $param_double_1, double $param_double_2)
	throws java.rmi.RemoteException
    {
	try {
	    Object $result = ref.invoke(this, $method_addMethod_0, new java.lang.Object[] {new java.lang.Double($param_double_1), new java.lang.Double($param_double_2)}, -4125154764385831103L);
	    return ((java.lang.String) $result);
	} catch (java.lang.RuntimeException e) {
	    throw e;
	} catch (java.rmi.RemoteException e) {
	    throw e;
	} catch (java.lang.Exception e) {
	    throw new java.rmi.UnexpectedException("undeclared checked exception", e);
	}
    }
}

⌨️ 快捷键说明

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