... 方法的第二个参数是指针类型 (the method's second argument is a pointer) 方法返回类型为 error (the method has return type error) 这里的 T ...
基于2个网页-相关网页
使用PortableRemoteObject . narrow方法将返回的远程对象压缩为ejb本地接口的类型。
Use the PortableRemoteObject.narrow method to narrow the returned remote object to the type of EJB home interface.
泛型make方法为一些类型V返回一个Box,返回值被用于需要Box的上下文中。
The generic make method returns a Box for some type v, and the return value is being used in a context that requires a Box.
另一种避免这样的麻烦的方式是永远为方法返回值声明类型,特别是为公用api定义方法的时候。
Another way to prevent these problems is to always declare return types for methods, especially when defining methods for a public API.
应用推荐