receiver.java
来自「DesignPatterns 的java源码」· Java 代码 · 共 21 行
JAVA
21 行
package com.javapatterns.command.document;
public class Receiver
{
public Receiver(int id)
{
_identification = id;
}
public void action()
{
System.out.println(" Action is binded by the Receiver: "+_identification);
}
private int _identification;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?