Constructor | Description |
---|---|
LeastFrequentlyUsedCache(int cacheSize) |
Modifier and Type | Method | Description |
---|---|---|
void |
commit() |
|
FontMetrics |
getFontMetrics(FontKey fontKey) |
|
void |
putFontMetrics(FontKey key,
FontMetrics metrics) |
public FontMetrics getFontMetrics(FontKey fontKey)
getFontMetrics
in interface FontCache
public void putFontMetrics(FontKey key, FontMetrics metrics)
putFontMetrics
in interface FontCache