I have a list of array of 2 objects:
List<Object[2]>
Where object[0] is an Integer and object[1] is a String.
How can I stream the list and apply different functions on each object? So that, the result will be an array having:
result[0] = multiplication of all object[0]
result[1] = concatenation of all object[1]