K- the type of keys the predicate operates on.
V- the type of values the predicate operates on.
public interface Predicate<K,V> extends Serializable
Implementations must be thread-safe, since the
method may be called by multiple threads concurrently.
|Modifier and Type||Method and Description|
Applies this predicate to the given map entry.
boolean apply(Map.Entry<K,V> mapEntry)
Implementations must be thread-safe, since this method may be called by multiple threads concurrently.
mapEntry- the map entry to apply this predicate to.
trueif the given map entry matches this predicate,
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.