Interface ListBuilder<M,​I>

    • Method Detail

      • addItem

        ListBuilder<M,​I> addItem​(java.util.function.Supplier<I> itemFactory)
        Provides means to add an item to the list.
        Parameters:
        itemFactory - Supplier for the new item.
        Returns:
        this.
      • deleteItem

        ListBuilder<M,​I> deleteItem()
        Allows for deleting an item from the list.
        Returns:
        this.