K
- key typeV
- value type@InterfaceStability.Unstable
public interface Predicate<K,V>
Predicate
interface represents a predicate (boolean-valued function) of a KeyValue
pair.
This is a stateless record-by-record operation, i.e, test(Object, Object)
is invoked individually for each
record of a stream.