public class InMemoryMessageListStore<K,M extends PMessage<M,F>,F extends PField> extends Object implements MessageListStore<K,M,F>
| Constructor and Description |
|---|
InMemoryMessageListStore() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(K key) |
Map<K,List<M>> |
getAll(Collection<K> keys)
Look up a set of keys from the storage.
|
Collection<K> |
keys()
Get a collection of all the keys in the store.
|
Map<K,List<M>> |
putAll(Map<K,List<M>> values) |
Map<K,List<M>> |
removeAll(Collection<K> keys)
Remove the values for the given keys.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitputAllBuilders, putBuildersgetAllBuilders, getBuildersput, removeget, size@Nonnull public Map<K,List<M>> getAll(@Nonnull Collection<K> keys)
ReadOnlyStorepublic boolean containsKey(@Nonnull K key)
containsKey in interface ReadOnlyStore<K,List<M extends PMessage<M,F>>>key - The key to look up.@Nonnull public Collection<K> keys()
ReadOnlyStore@Nonnull public Map<K,List<M>> removeAll(Collection<K> keys)
ReadWriteStoreCopyright © 2015–2019 morimekta.net. All rights reserved.