public class KeyFilterAsKeyValueFilter<K,V> extends Object implements KeyValueFilter<K,V>
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyFilterAsKeyValueFilter.Externalizer |
| Constructor and Description |
|---|
KeyFilterAsKeyValueFilter(KeyFilter<? super K> filter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(K key,
V value,
Metadata metadata) |
protected void |
injectDependencies(ComponentRegistry cr) |
public boolean accept(K key, V value, Metadata metadata)
accept in interface KeyValueFilter<K,V>key - key to testvalue - value to use (could be null for the case of removal)metadata - metadataprotected void injectDependencies(ComponentRegistry cr)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.