Class BVar


  • public class BVar
    extends Object
    Variable with Boolean mutable value in a controller application.
    Author:
    Herbert Praehofer
    • Field Detail

      • value

        private boolean value
        Field for the mutable value of the variable.
    • Constructor Detail

      • BVar

        public BVar​(boolean initial)
        Constructor initializing the variable value.
        Parameters:
        initial - the initial value
    • Method Detail

      • get

        public boolean get()
        Gets the variable value.
        Returns:
        the variable value
      • set

        public void set​(boolean value)
        Sets the variable value.
        Parameters:
        value - the new value