URLStreamHandler.HashCode(URL) Metodo

Definizione

Fornisce il calcolo hash predefinito.

[Android.Runtime.Register("hashCode", "(Ljava/net/URL;)I", "GetHashCode_Ljava_net_URL_Handler")]
protected virtual int HashCode(Java.Net.URL? u);
[<Android.Runtime.Register("hashCode", "(Ljava/net/URL;)I", "GetHashCode_Ljava_net_URL_Handler")>]
abstract member HashCode : Java.Net.URL -> int
override this.HashCode : Java.Net.URL -> int

Parametri

u
URL

un oggetto URL

Valori restituiti

un oggetto int adatto per l'indicizzazione di tabelle hash

Attributi

Commenti

Fornisce il calcolo hash predefinito. Può essere sottoposto a overidden dai gestori per altri protocolli che hanno requisiti diversi per il calcolo hashCode.

Aggiunta nella versione 1.3.

per java.net.URLStreamHandler.hashCode(java.net.URL).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a