📄 messagepassing.java
字号:
package Synchronization;public interface MessagePassing { public abstract void send(Object m) throws NotImplementedMethodException; public abstract void send(int m) throws NotImplementedMethodException ; public abstract void send(double m) throws NotImplementedMethodException; public abstract Object receive() throws NotImplementedMethodException; public abstract int receiveInt() throws ClassCastException, NotImplementedMethodException; public abstract double receiveDouble() throws ClassCastException, NotImplementedMethodException; public abstract void close() throws NotImplementedMethodException;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -