Code example for IdentityHashMap

Methods: remove

0
			 
			this.requestsByUrl.put(url, request);
		} 
		 
		public String remove(WebImageRequest request) {
			String url = this.urlsByRequest.remove(request);
			 
			if (url != null) {
				this.requestsByUrl.remove(url);
			} 
			 
			return url;
		} 
		 
		public WebImageRequest getRequest(String url) {
			return this.requestsByUrl.get(url);
		} 
	} 
	 
	private static class ReceiverManager { 
		private WeakHashMap<Receiver, WebImageRequest> requestsByReceiver;