空对象模式
示例
C++
public class NoCommand : public Command
{
public void execute()
{}
}
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.