Class NotExpression<T,​R>

    • Constructor Detail

      • NotExpression

        public NotExpression​(Expression<T,​R> source)
        Constructor initializes children expression list
        Parameters:
        source - Source expression
    • Method Detail

      • apply

        public Boolean apply​(T value)
        Performs logical NOT operation using parameters and the value supplied
        Specified by:
        apply in interface Expression<T,​R>
        Specified by:
        apply in interface Function<T,​R>
        Parameters:
        value - Object to handle
        Returns:
        Evaluation result
      • test

        public boolean test​(T value)
        Performs logical NOT operation using parameters and the value supplied
        Specified by:
        test in interface Predicate<T>
        Parameters:
        value - Object to handle
        Returns:
        Evaluation result