Class BasePVBoolean

    • Field Detail

      • value

        protected boolean value
    • Constructor Detail

      • BasePVBoolean

        public BasePVBoolean​(Scalar scalar)
        Constructor
        Parameters:
        scalar - The introspection interface.
    • Method Detail

      • get

        public boolean get()
        Description copied from interface: PVBoolean
        Get the boolean value stored in the field.
        Specified by:
        get in interface PVBoolean
        Returns:
        boolean the value of field
      • put

        public void put​(boolean value)
        Description copied from interface: PVBoolean
        Put the field from a boolean value. If the field is immutable a message is generated and the field not modified.
        Specified by:
        put in interface PVBoolean
        Parameters:
        value - the new boolean value for field.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object