@Deprecated(since = "6.0.0", forRemoval = true)
public class BooleanClosureForMapPredicate<K, V>
extends Object
implements Predicate
| Constructor and description |
|---|
BooleanClosureForMapPredicate(Closure wrapped)Wraps wrapped and records how many parameters it accepts. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public boolean |
test(Map.Entry<K, V> entry)Invokes the wrapped closure with the entry's key and value when the closure accepts two arguments, and with the entry itself otherwise. |
Wraps wrapped and records how many parameters it accepts.
wrapped - closure evaluated for each map entryCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.