Class TorqueClick
java.lang.Object
org.texastorque.torquelib.control.TorqueClick
Notifies when a boolean value initially changes from false to true.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
calculate
(boolean current) Has current just changed from false to true?
-
Constructor Details
-
TorqueClick
public TorqueClick()
-
-
Method Details
-
calculate
public final boolean calculate(boolean current) Has current just changed from false to true?- Parameters:
current
- The current value to check.- Returns:
- If the current value has just changed from false to true.
-