Class VBoolean

  • All Implemented Interfaces:
    AlarmProvider, TimeProvider

    public abstract class VBoolean
    extends Scalar
    Scalar boolean with alarm and timestamp.
    Author:
    carcassi
    • Constructor Detail

      • VBoolean

        public VBoolean()
    • Method Detail

      • getValue

        public abstract Boolean getValue()
        Returns the value. Never null.
        Specified by:
        getValue in class Scalar
        Returns:
        the value
      • of

        public static VBoolean of​(Boolean value,
                                  Alarm alarm,
                                  Time time)
        Creates a new VBoolean.
        Parameters:
        value - the boolean value
        alarm - the alarm
        time - the time
        Returns:
        the new value
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object