Applies the given difference to this collection.
- Xcode 11.0+
- Swift Standard Library
The difference to be applied.
An instance representing the state of the receiver with the difference applied, or
nil if the difference is incompatible with the receiver’s state.
Complexity: O(n + c), where n is
self and c is the number of changes contained by the parameter.