Package design.pattern.behavioural
Interface Command
public interface Command
Command
will be used to replace a method with an object and parameters by the object fields so that we can
handle them in after some time or make another thread execute it.-
Method Summary
-
Method Details
-
execute
void execute() -
undo
void undo()
-