Code example for Cache

Methods: put

0
    * 
    * @param image The image to be registered to the cache. 
    */ 
   public void registerImage(Image image) {
      checkNotNull(image, "image");
      uncachedImages.put(image.getId(), image);
   } 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java