Class RecordingFunction<I,​O>

    • Field Detail

      • record

        protected final Collection<ITuple2G_<? extends I,​? extends O>> record
        A collection of the pairs of input and output values, for each invocation of this function.
    • Constructor Detail

      • RecordingFunction

        public RecordingFunction​(Function<I,​O> function)
        Create a new recording function, delegating to the specified function.
        Parameters:
        function - The function to delegate to. This function will determine the output values.
    • Method Detail

      • getRecord

        public Collection<ITuple2G_<? extends I,​? extends O>> getRecord()
        A collection of the pairs of input and output values, for each invocation of this function.
        Returns:
        The record of function applications.