Predicate
in the future@ThreadSafe @Deprecated public interface KeyFilter<K> extends Predicate<K>
KeyValueFilter
class. This
class is useful for cases when it may be more beneficial to not have the values available. This would include
cache loaders since many implementations it may incur additional performance costs just to resurrect the values in
addition to any keys.Modifier and Type | Field and Description |
---|---|
static KeyFilter |
ACCEPT_ALL_FILTER
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(K key)
Deprecated.
|
default boolean |
test(K k)
Deprecated.
|
static final KeyFilter ACCEPT_ALL_FILTER
Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.