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

    Modifier and Type
    Method
    Description
    void
     
    void
     
  • Method Details

    • execute

      void execute()
    • undo

      void undo()