K - Key type.V - Value type.public class PredicateSetView<K,V> extends GridSerializableMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PredicateSetView(Set<K> set,
IgniteClosure<? super K,V> clo,
IgnitePredicate<? super K>... preds) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(Object key) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
boolean |
isEmpty() |
V |
put(K key,
V val) |
V |
remove(Object key) |
public PredicateSetView(Set<K> set, IgniteClosure<? super K,V> clo, IgnitePredicate<? super K>... preds)
set - Input collection.clo - Mapping closure, that maps key to value.preds - Optional predicates to filter input collection. If predicates are not provided - all elements
will be inpublic boolean isEmpty()
public boolean containsKey(Object key)
containsKey in interface Map<K,V>containsKey in class AbstractMap<K,V>
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017