Lines Matching defs:config
102 * @param config The graphics configuration, needed if cached image is a Volatile Image. Used as part of cache key
108 public Image getImage(GraphicsConfiguration config, int w, int h, Object... args) {
111 PixelCountSoftReference ref = map.get(hash(config, w, h, args));
113 if (ref != null && ref.equals(config,w, h, args)) {
127 * @param config The graphics configuration, needed if cached image is a Volatile Image. Used as part of cache key
133 public boolean setImage(Image image, GraphicsConfiguration config, int w, int h, Object... args) {
135 int hash = hash(config, w, h, args);
171 map.put(hash, new PixelCountSoftReference(image, referenceQueue, newPixelCount,hash, config, w, h, args));
179 private int hash(GraphicsConfiguration config, int w, int h, Object ... args) {
181 hash = (config != null ? config.hashCode() : 0);
194 private final GraphicsConfiguration config;
200 GraphicsConfiguration config, int w, int h, Object[] args) {
204 this.config = config;
210 public boolean equals (GraphicsConfiguration config, int w, int h, Object[] args){
211 return config == this.config &&