/** * Generates a hash code for this tracked route. * Route trackers are modifiable and should therefore not be used * as lookup keys. Use {@link #toRoute toRoute} to obtain an * unmodifiable representation of the tracked route. * * @return the hash code */ @Override public final int hashCode() { int hc = this.targetHost.hashCode(); if (this.localAddress != null) hc ^= localAddress.hashCode(); if (this.proxyChain != null) { hc ^= proxyChain.length; for (int i=0; i<proxyChain.length; i++) hc ^= proxyChain[i].hashCode(); } if (this.connected) hc ^= 0x11111111; if (this.secure) hc ^= 0x22222222; hc ^= this.tunnelled.hashCode(); hc ^= this.layered.hashCode(); return hc; }
layerType = RouteInfo.LayerType.valueOf(layered);
/** * Generates a hash code for this tracked route. * Route trackers are modifiable and should therefore not be used * as lookup keys. Use {@link #toRoute toRoute} to obtain an * unmodifiable representation of the tracked route. * * @return the hash code */ @Override public final int hashCode() { int hc = this.targetHost.hashCode(); if (this.localAddress != null) hc ^= localAddress.hashCode(); if (this.proxyChain != null) { hc ^= proxyChain.length; for (int i=0; i<proxyChain.length; i++) hc ^= proxyChain[i].hashCode(); } if (this.connected) hc ^= 0x11111111; if (this.secure) hc ^= 0x22222222; hc ^= this.tunnelled.hashCode(); hc ^= this.layered.hashCode(); return hc; }
/** * Generates a hash code for this tracked route. * Route trackers are modifiable and should therefore not be used * as lookup keys. Use {@link #toRoute toRoute} to obtain an * unmodifiable representation of the tracked route. * * @return the hash code */ @Override public final int hashCode() { int hc = this.targetHost.hashCode(); if (this.localAddress != null) hc ^= localAddress.hashCode(); if (this.proxyChain != null) { hc ^= proxyChain.length; for (int i=0; i<proxyChain.length; i++) hc ^= proxyChain[i].hashCode(); } if (this.connected) hc ^= 0x11111111; if (this.secure) hc ^= 0x22222222; hc ^= this.tunnelled.hashCode(); hc ^= this.layered.hashCode(); return hc; }
/** * Generates a hash code for this tracked route. * Route trackers are modifiable and should therefore not be used * as lookup keys. Use {@link #toRoute toRoute} to obtain an * unmodifiable representation of the tracked route. * * @return the hash code */ @Override public final int hashCode() { int hc = this.targetHost.hashCode(); if (this.localAddress != null) hc ^= localAddress.hashCode(); if (this.proxyChain != null) { hc ^= proxyChain.length; for (int i=0; i<proxyChain.length; i++) hc ^= proxyChain[i].hashCode(); } if (this.connected) hc ^= 0x11111111; if (this.secure) hc ^= 0x22222222; hc ^= this.tunnelled.hashCode(); hc ^= this.layered.hashCode(); return hc; }
/** * Generates a hash code for this tracked route. * Route trackers are modifiable and should therefore not be used * as lookup keys. Use {@link #toRoute toRoute} to obtain an * unmodifiable representation of the tracked route. * * @return the hash code */ @Override public final int hashCode() { int hc = this.targetHost.hashCode(); if (this.localAddress != null) hc ^= localAddress.hashCode(); if (this.proxyChain != null) { hc ^= proxyChain.length; for (int i=0; i<proxyChain.length; i++) hc ^= proxyChain[i].hashCode(); } if (this.connected) hc ^= 0x11111111; if (this.secure) hc ^= 0x22222222; hc ^= this.tunnelled.hashCode(); hc ^= this.layered.hashCode(); return hc; }
/** * Generates a hash code for this route. * * @return the hash code */ @Override public final int hashCode() { int hc = this.targetHost.hashCode(); if (this.localAddress != null) hc ^= localAddress.hashCode(); if (this.proxyChain != null) { hc ^= proxyChain.length; for (HttpHost aProxyChain : proxyChain) hc ^= aProxyChain.hashCode(); } if (this.secure) hc ^= 0x11111111; hc ^= this.tunnelled.hashCode(); hc ^= this.layered.hashCode(); return hc; }
/** * Generates a hash code for this route. * * @return the hash code */ @Override public final int hashCode() { int hc = this.targetHost.hashCode(); if (this.localAddress != null) hc ^= localAddress.hashCode(); if (this.proxyChain != null) { hc ^= proxyChain.length; for (HttpHost aProxyChain : proxyChain) hc ^= aProxyChain.hashCode(); } if (this.secure) hc ^= 0x11111111; hc ^= this.tunnelled.hashCode(); hc ^= this.layered.hashCode(); return hc; }
/** * Generates a hash code for this route. * * @return the hash code */ @Override public final int hashCode() { int hc = this.targetHost.hashCode(); if (this.localAddress != null) hc ^= localAddress.hashCode(); if (this.proxyChain != null) { hc ^= proxyChain.length; for (HttpHost aProxyChain : proxyChain) hc ^= aProxyChain.hashCode(); } if (this.secure) hc ^= 0x11111111; hc ^= this.tunnelled.hashCode(); hc ^= this.layered.hashCode(); return hc; }
/** * Generates a hash code for this route. * * @return the hash code */ @Override public final int hashCode() { int hc = this.targetHost.hashCode(); if (this.localAddress != null) hc ^= localAddress.hashCode(); if (this.proxyChain != null) { hc ^= proxyChain.length; for (HttpHost aProxyChain : proxyChain) hc ^= aProxyChain.hashCode(); } if (this.secure) hc ^= 0x11111111; hc ^= this.tunnelled.hashCode(); hc ^= this.layered.hashCode(); return hc; }
/** * Generates a hash code for this route. * * @return the hash code */ @Override public final int hashCode() { int hc = this.targetHost.hashCode(); if (this.localAddress != null) hc ^= localAddress.hashCode(); if (this.proxyChain != null) { hc ^= proxyChain.length; for (HttpHost aProxyChain : proxyChain) hc ^= aProxyChain.hashCode(); } if (this.secure) hc ^= 0x11111111; hc ^= this.tunnelled.hashCode(); hc ^= this.layered.hashCode(); return hc; }