Class StateChangeDetector


  • public class StateChangeDetector
    extends Object
    • Field Detail

      • oldState

        public boolean oldState
    • Constructor Detail

      • StateChangeDetector

        public StateChangeDetector​(boolean startState)
    • Method Detail

      • getOldState

        public boolean getOldState()
      • didChange

        public boolean didChange​(boolean currentState)
      • didChangeToTrue

        public boolean didChangeToTrue​(boolean currentState)
      • didChangeToFalse

        public boolean didChangeToFalse​(boolean currentState)