public interface MessageStore<K,M extends net.morimekta.providence.PMessage<M>> extends MessageReadOnlyStore<K,M>, ReadWriteStore<K,M>
| Modifier and Type | Method and Description |
|---|---|
default <B extends net.morimekta.providence.PMessageBuilder<M>> |
putAllBuilders(Map<K,B> builders)
Put a collection of key and builder pairs onto the store.
|
default <B extends net.morimekta.providence.PMessageBuilder<M>> |
putBuilder(K key,
B builder)
Put the message represented by the builder into the store on the given key.
|
getAllBuilders, getBuilderput, putAll, remove, removeAllcontainsKey, get, getAll, keys, sizedefault <B extends net.morimekta.providence.PMessageBuilder<M>> void putBuilder(@Nonnull K key, @Nonnull B builder)
B - The builder type.key - The key to store the builder on.builder - The builder to store.default <B extends net.morimekta.providence.PMessageBuilder<M>> void putAllBuilders(@Nonnull Map<K,B> builders)
B - The builder type.builders - Map of builders to put into the store.Copyright © 2015–2020 morimekta.net. All rights reserved.