Class Default<I extends BooleanType<I>,​O extends Type<O>>

  • All Implemented Interfaces:
    Computers.Arity2<I,​O,​O>, Consumers.Arity3<I,​O,​O>

    public class Default<I extends BooleanType<I>,​O extends Type<O>>
    extends Object
    implements Computers.Arity2<I,​O,​O>
    An Op that sets the output to the defaultVal iff the input is evaluated as false.
    Author:
    Leon Yang
    Implementation Note:
    op names='logic.default'
    • Constructor Detail

      • Default

        public Default()