Interface IListValueBuilder<V>

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

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

    • asThis

      default IListValueBuilder<V> asThis()
      Specified by:
      asThis in interface ISubTypeValueBuilder<List<V>, IListValueBuilder<V>>
      Returns:
      This instance.
    • set

      IListValueBuilder<V> set(int index, IValueCreator 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, Object 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.