📄 remotesort.java
字号:
// defines the interface RemoteSort which is used to support
// RMI based remote sorting service. The idea here is just to show
// that we can support passing and returning of complex objects,
// not just simple data types.
import java.rmi.*;
import java.util.*;
// The interface must extend the Remote interface to become something
// that RMI can serve up.
public interface RemoteSort extends Remote {
public List sort(List l) throws RemoteException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -