Code example for IdentityHashMap

Methods: getput

0
			 
			this.receiversLastRequestCompleted = new WeakHashMap<Receiver, Boolean>();
		} 
		 
		public void put(Receiver receiver, WebImageRequest request) {
			WeakHashMap<Receiver, Object> receivers = this.receiversByRequest.get(request);
			 
			if (receivers == null) {
				receivers = new WeakHashMap<Receiver, Object>();
				this.receiversByRequest.put(request, receivers);
			} 
			 
			receivers.put(receiver, this.dummy);
			 
			this.requestsByReceiver.put(receiver, request);
		} 
		 
		public WeakHashMap<Receiver, Object> remove(WebImageRequest request) {
			return this.receiversByRequest.remove(request);
		} 
Stop searching for code, let great code find you!  Add Codota to your java IDE