Method CompareTo
CompareTo(ObjectId)
Compares this ObjectId to another ObjectId.
Parameters
other
ObjectId The other ObjectId.
Returns
- int
A 32-bit signed integer that indicates whether this ObjectId is less than, equal to, or greather than the other.