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
A
IValueBuilder for creating a list value.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptiondefault IListValueBuilder<V> asThis()set(int index, IValueCreator creator) Sets the value at the given index to the given value.default IListValueBuilder<V> Sets the value at the given index to the given value.Methods inherited from interface org.apache.commons.lang3.builder.Builder
buildMethods inherited from interface ISubTypeValueBuilder
value, whenBoolean, whenConst, whenFloat, whenInteger, whenList, whenMap, whenNull, whenRecord, whenString, whenTuple, whenUnion, whenVoid
-
Method Details
-
asThis
- Specified by:
asThisin interfaceISubTypeValueBuilder<List<V>, IListValueBuilder<V>>- Returns:
- This instance.
-
set
Sets the value at the given index to the given value.- Parameters:
index- Index in the list, starting at0.creator- Value creator for the value at the given index.- Returns:
- This value builder for chaining method calls.
-
set
Sets the value at the given index to the given value.- Parameters:
index- Index in the list, starting at0.value- Value to set at the given index.- Returns:
- This value builder for chaining method calls.
-