URLStreamHandler.Equals(URL, URL) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the default equals calculation.
[Android.Runtime.Register("equals", "(Ljava/net/URL;Ljava/net/URL;)Z", "GetEquals_Ljava_net_URL_Ljava_net_URL_Handler")]
protected virtual bool Equals (Java.Net.URL? u1, Java.Net.URL? u2);
[<Android.Runtime.Register("equals", "(Ljava/net/URL;Ljava/net/URL;)Z", "GetEquals_Ljava_net_URL_Ljava_net_URL_Handler")>]
override this.Equals : Java.Net.URL * Java.Net.URL -> bool
Parameters
- u1
- URL
a URL object
- u2
- URL
a URL object
Returns
true
if the two urls are
considered equal, ie. they refer to the same
fragment in the same file.
- Attributes
Remarks
Provides the default equals calculation. May be overidden by handlers for other protocols that have different requirements for equals(). This method requires that none of its arguments is null. This is guaranteed by the fact that it is only called by java.net.URL class.
Added in 1.3.
Java documentation for java.net.URLStreamHandler.equals(java.net.URL, java.net.URL)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.