Class RichFilterFunction<T>

    • Constructor Detail

      • RichFilterFunction

        public RichFilterFunction()
    • Method Detail

      • filter

        public abstract boolean filter​(T value)
                                throws Exception
        Description copied from interface: FilterFunction
        The filter function that evaluates the predicate.

        IMPORTANT: The system assumes that the function does not modify the elements on which the predicate is applied. Violating this assumption can lead to incorrect results.

        Specified by:
        filter in interface FilterFunction<T>
        Parameters:
        value - The value to be filtered.
        Returns:
        True for values that should be retained, false for values to be filtered out.
        Throws:
        Exception - This method may throw exceptions. Throwing an exception will cause the operation to fail and may trigger recovery.