Class MapFilter<K,​V>

  • All Implemented Interfaces:
    Function<Map<K,​V>,​Map<K,​V>>

    public class MapFilter<K,​V>
    extends KorypheFunction<Map<K,​V>,​Map<K,​V>>
    A MapFilter is a Function that filters items from a Map based on a Predicate. You can provide a key predicate, value predicate and keyValuePredicate. All predicates must return true for the entry to be valid and kept. If a predicate is not provided then it will default to returning true.