| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private static final ImageCache | |
| private final ReadWriteLock | |
| private final LinkedHashMap | |
| private final int | |
| private final ReferenceQueue |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Image | |
| public static ImageCache | |
| public void | setImage(final ImageCache.
The key with which the specified image is to be associated key,The image to store in cache image)Sets the cached image for the specified constraints. |
| currentPixelCount | back to summary |
|---|---|
| private int currentPixelCount | |
| instance | back to summary |
|---|---|
| private static final ImageCache instance | |
| lock | back to summary |
|---|---|
| private final ReadWriteLock lock | |
| map | back to summary |
|---|---|
| private final LinkedHashMap<ImageCache. | |
| maxPixelCount | back to summary |
|---|---|
| private final int maxPixelCount | |
| referenceQueue | back to summary |
|---|---|
| private final ReferenceQueue<Image> referenceQueue | |
| ImageCache | back to summary |
|---|---|
| pack-priv ImageCache(final int maxPixelCount) | |
| ImageCache | back to summary |
|---|---|
| pack-priv ImageCache() | |
| flush | back to summary |
|---|---|
| public void flush() | |
| getImage | back to summary |
|---|---|
| public Image getImage(final ImageCache. | |
| getInstance | back to summary |
|---|---|
| public static ImageCache getInstance() | |
| setImage | back to summary |
|---|---|
| public void setImage(final ImageCache. Sets the cached image for the specified constraints.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ImageCache. |
| Access | Constructor and Description |
|---|---|
| pack-priv | ImageSoftReference(final ImageCache.
|
| key | back to summary |
|---|---|
| pack-priv final ImageCache. | |
| ImageSoftReference | back to summary |
|---|---|
| pack-priv ImageSoftReference(final ImageCache. | |
| Modifier and Type | Method and Description |
|---|---|
| public int |
| getPixelCount | back to summary |
|---|---|
| public int getPixelCount() | |