newIndex property
The index of the changed document in the result set immediately after this DocumentChange (i.e. supposing that all prior DocumentChange objects and the current DocumentChange object have been applied). Returns -1 for 'removed' events.
The index in the new snapshot, after processing all previous changes.
Implementation
final int newIndex;