isEquivalentTo

abstract fun isEquivalentTo(other: Request): Boolean

Returns true if this Request is equivalent to the given Request (has all of the same options and sizes).

This method is identical to equals except that it's specific to Request subclasses. We do not use equals directly because we track Requests in collections like java.util.Set and it's perfectly legitimate to have two different Request objects for two different s (for example). Using a similar but different method let's us selectively compare Request objects to each other when it's useful in specific scenarios.