| Parameter | Description |
|---|---|
| array | The array from which to remove duplicates. |
int The number of unique elements in this array.
Removes duplicate values from this sorted array and returns the number of values remaining.
Uses Equals to determine whether values are duplicates.
Expects the array to already be sorted.
The remaining elements will be tightly packed at the front of the array.