int addToList(Object list, Object item)
int addToList(Object list, Object item)
Name | Type | Description |
---|---|---|
list | java.util.List | The list to add the item to. |
item | Object | The item to be added to the list. |
Type | Description |
---|---|
int | The new size of the list after the addition. |