I am trying to subtract two array lists. Both arraylists contain the following data
[1, 1, 5, 1, 1]
I am using an Apache library to perform the operation.
List resultList = ListUtils.subtract(sections, sections);
The operation completes but my result is the following
[]
When I need to it be
[0, 0, 0, 0, 0]
How would I go about doing this?