code: private int hash(GraphicsConfiguration config, int w, int h, Object... args) {
          int hash;
  
          hash = (config != null ? config.hashCode() : 0);
          hash = 31 * hash + w;
          hash = 31 * hash + h;
          hash = 31 * hash + Arrays.deepHashCode(args);
  
          return hash;
      }
docs: Create a unique hash from all the input.
  
  @param  config the graphics configuration.
  @param  w      the width.
  @param  h      the height.
  @param  args   the arguments for the image.
  
  @return the hash for the object instance.