CompositeProcessor represents a collection of entry processors that are invoked sequentially against the same MapEntry.

Type Param

the type of value returned by the EntryProcessor

Type Parameters

  • K = any

    the type of the Map entry key

  • V = any

    the type of the Map entry value

Hierarchy

Constructors

Properties

Methods

Constructors

  • Construct a CompositeProcessor for the specified array of individual entry processors.

    The result of the CompositeProcessor execution is an array of results returned by the individual EntryProcessor invocations.

    Type Parameters

    • K = any

    • V = any

    Parameters

    • Rest ...processors: EntryProcessor<K, V, any>[]

      the entry processor array

    Returns CompositeProcessor<K, V>

Properties

@class: string
processors: EntryProcessor<K, V, any>[]

The underlying entry processor array.

Methods

  • Returns a ConditionalProcessor comprised of this processor and the provided filter.

    The specified entry processor gets invoked if and only if the filter applied to the entry evaluates to true; otherwise the result of the invocation will return null.

    Parameters

    Returns EntryProcessor<K, V, any>