public final class ImageCache
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static ImageCache |
IMAGES |
static ImageCache |
MAPS |
static ImageCache |
SPRITES |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
clear(java.lang.String regex) |
static void |
clearAll() |
boolean |
containsKey(java.lang.String key) |
java.awt.image.BufferedImage |
get(java.lang.String key) |
void |
onCleared(java.util.function.Consumer<ImageCache> cons) |
java.awt.image.BufferedImage |
put(java.lang.String key,
java.awt.image.BufferedImage value) |
int |
size() |
public static final ImageCache IMAGES
public static final ImageCache MAPS
public static final ImageCache SPRITES
public static void clearAll()
public void clear()
public void onCleared(java.util.function.Consumer<ImageCache> cons)
public void clear(java.lang.String regex)
public boolean containsKey(java.lang.String key)
public java.awt.image.BufferedImage get(java.lang.String key)
public java.awt.image.BufferedImage put(java.lang.String key,
java.awt.image.BufferedImage value)
public int size()