add
Adds a String to the List.
Return
The current Builder instance.
Parameters
Adds an Int to the List.
Return
The current Builder instance.
Parameters
Adds a Long to the List.
Return
The current Builder instance.
Parameters
Adds a Double to the List.
Return
The current Builder instance.
Parameters
Adds a Boolean to the List.
Return
The current Builder instance.
Parameters
Adds a DataItem to the List.
Return
The current Builder instance.
Parameters
Adds a DataItemConvertible to the list. The value is first converted into a DataItem using its implementation of asDataItem.
Return
The current Builder instance.
Parameters
value
The DataItemConvertible instance to add
index
Optional list index to insert the item at