Added documentation to Device.cloneState()

This commit is contained in:
Claudio Maggioni (maggicl) 2020-04-17 21:12:33 +02:00
parent 4aa4d68738
commit f565a3be6e

View file

@ -13,5 +13,11 @@ public abstract class OutputDevice extends Device {
super(kind, FlowType.OUTPUT); super(kind, FlowType.OUTPUT);
} }
/**
* Creates a State<?> object initialized to point at this device and with values copied from
* this device's state
*
* @return a new State<?> object
*/
public abstract State<? extends OutputDevice> cloneState(); public abstract State<? extends OutputDevice> cloneState();
} }