public interface MessageSetStore<K,M extends PMessage<M,F>,F extends PField> extends MessageReadOnlyStore<K,M,F>, 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 PMessageBuilder<M,F>> |
putAllBuilders(Collection<B> builders)
Put a collection of key and builder pairs onto the store.
|
default <B extends PMessageBuilder<M,F>> |
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, size@Nullable default <B extends PMessageBuilder<M,F>> B putBuilder(@Nonnull B builder)
B - The builder type.builder - The builder to store.@Nonnull default <B extends PMessageBuilder<M,F>> Map<K,B> putAllBuilders(@Nonnull Collection<B> builders)
B - The builder type.builders - Collection of builders to put into the store.Copyright © 2015–2019 morimekta.net. All rights reserved.