Interface IListValueBuilder<V>

Type Parameters:
V - Type of the list elements.
All Superinterfaces:
org.apache.commons.lang3.builder.Builder<List<V>>, IValueBuilder<List<V>>

public interface IListValueBuilder<V> extends IValueBuilder<List<V>>
A IValueBuilder for creating a list value.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
  • Method Details

    • set

      IListValueBuilder<V> set(int index, IValueCreator<V> creator)
      Sets the value at the given index to the given value.
      Parameters:
      index - Index in the list, starting at 0.
      creator - Value creator for the value at the given index.
      Returns:
      This value builder for chaining method calls.
    • set

      default IListValueBuilder<V> set(int index, V value)
      Sets the value at the given index to the given value.
      Parameters:
      index - Index in the list, starting at 0.
      value - Value to set at the given index.
      Returns:
      This value builder for chaining method calls.