K - The key type.M - The stored message type.public class InMemoryMessageListStore<K,M extends net.morimekta.providence.PMessage<M>> extends Object implements MessageListStore<K,M>
| 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.
|
void |
putAll(Map<K,List<M>> values) |
void |
removeAll(Collection<K> keys)
Remove the values for the given keys.
|
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitputAllBuilders, putBuildersgetAllBuilders, getBuildersput, removeget@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 net.morimekta.providence.PMessage<M>>>key - The key to look up.@Nonnull public Collection<K> keys()
ReadOnlyStorepublic int size()
public void removeAll(Collection<K> keys)
ReadWriteStoreCopyright © 2015–2020 morimekta.net. All rights reserved.