K - The key type.M - The stored message type.public interface MessageSetStore<K,M extends net.morimekta.providence.PMessage<M>> extends MessageReadOnlyStore<K,M>, ReadWriteSetStore<K,M>
key definition, not on the message as a whole. Each
implementation will need to handle the message to key mapping itself.| Modifier and Type | Method and Description |
|---|---|
default <B extends net.morimekta.providence.PMessageBuilder<M>> |
putAllBuilders(Collection<B> builders)
Put a collection of key and builder pairs onto the store.
|
default <B extends net.morimekta.providence.PMessageBuilder<M>> |
putBuilder(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 B builder)
B - The builder type.builder - The builder to store.default <B extends net.morimekta.providence.PMessageBuilder<M>> void putAllBuilders(@Nonnull Collection<B> builders)
B - The builder type.builders - Collection of builders to put into the store.Copyright © 2015–2020 morimekta.net. All rights reserved.