Inside reduce(key, Iterable<Type> value, context), the value.iterator() is a single reference.
So to reuse values, add them to a list structure for example
Credit goes to CornerCases
So to reuse values, add them to a list structure for example
Credit goes to CornerCases