Class TorqueClick

java.lang.Object
org.texastorque.torquelib.control.TorqueClick

public final class TorqueClick extends Object
Notifies when a boolean value initially changes 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.