Class ArithmeticGroupFunction.NAnd

java.lang.Object
org.openhab.core.library.types.ArithmeticGroupFunction.And
org.openhab.core.library.types.ArithmeticGroupFunction.NAnd
All Implemented Interfaces:
GroupFunction
Enclosing interface:
ArithmeticGroupFunction

public static class ArithmeticGroupFunction.NAnd extends ArithmeticGroupFunction.And
This does a logical 'nand' operation. The state is 'calculated' by the normal 'and' operation and than negated by returning the opposite value. E.g. when the 'and' operation calculates the activeValue the passiveValue will be returned and vice versa.
  • Constructor Details

    • NAnd

      public NAnd(@Nullable State activeValue, @Nullable State passiveValue)
  • Method Details