Class BooleanClosureForMapPredicate<K,V>

java.lang.Object
org.codehaus.groovy.runtime.BooleanClosureForMapPredicate<K,V>
All Implemented Interfaces:
Predicate<Map.Entry<K,V>>

public class BooleanClosureForMapPredicate<K,V> extends Object implements Predicate<Map.Entry<K,V>>
Adapts a Closure to a Predicate over Map.Entry values. If the closure takes two parameters, the key and value are passed separately; otherwise the Map.Entry itself is passed.
Since:
6.0.0
  • Constructor Details

    • BooleanClosureForMapPredicate

      public BooleanClosureForMapPredicate(Closure wrapped)
  • Method Details