| Operation | Method |
|---|---|
| Turn_On | Connects the lamp abstraction with the means of turning the physical lamp on. |
| Turn_Off | Connects the lamp abstraction with the means of turning the physical lamp off. |
| Operation | Method |
|---|---|
| Turn_On | Turn the lamp on. |
| Turn_Off | Turn the lamp off. |
| Assign | Assign the state of one instance of this class to another instance of the same class |
| Is_On | Returns true if a given instance of this class is in the "on" state. |