sem2/oop/oop_exercises/src/main/java/ch/hslu/oop/sw05/interfaces/ICountingSwitchable.java
<reponame>Davee02/HSLU<filename>sem2/oop/oop_exercises/src/main/java/ch/hslu/oop/sw05/interfaces/ICountingSwitchable.javapackage ch.hslu.oop.sw05.interfaces;

/**
 * Interface for devices that can be switched on and off and that keep track of
 * the number of times they have been switched on.
 */
public interface ICountingSwitchable extends ISwitchable {
    /**
     * Returns the number of times the device has been switched on.
     */
    long getSwitchCount();
}
