Interface MessageListStore<K,​M extends net.morimekta.providence.PMessage<M>>

    • Method Detail

      • putBuilders

        default <B extends net.morimekta.providence.PMessageBuilder<M>> void putBuilders​(@Nonnull
                                                                                         K key,
                                                                                         @Nonnull
                                                                                         java.util.List<B> builders)
        Put messages into the map represented by their builders. Further modifications to the builders will not be reflected onto the contents of the store.
        Type Parameters:
        B - The builder type.
        Parameters:
        key - The key to put builders to.
        builders - The list of builders to put.
      • putAllBuilders

        default <B extends net.morimekta.providence.PMessageBuilder<M>> void putAllBuilders​(@Nonnull
                                                                                            java.util.Map<K,​java.util.List<B>> builders)
        Put messages into the map represented by their builders. Further modifications to the builders will not be reflected onto the contents of the store.
        Type Parameters:
        B - The builder type.
        Parameters:
        builders - Map of key to list of builders.