K- key type
V- value type
public interface ForeachAction<K,V>
ForeachActioninterface for performing an action on a
key-value pair. This is a stateless record-by-record operation, i.e,
apply(Object, Object)is invoked individually for each record of a stream. If stateful processing is required, consider using
|Modifier and Type||Method and Description|
Perform an action for each record of a stream.