org.pentaho.reporting.libraries.fonts.cache
Class LeastFrequentlyUsedCache
java.lang.Object
org.pentaho.reporting.libraries.fonts.cache.LeastFrequentlyUsedCache
- All Implemented Interfaces:
- FontCache
public class LeastFrequentlyUsedCache
- extends Object
- implements FontCache
Todo: Document Me
- Author:
- Thomas Morgner
LeastFrequentlyUsedCache
public LeastFrequentlyUsedCache(int cacheSize)
getFontMetrics
public FontMetrics getFontMetrics(FontKey fontKey)
- Specified by:
getFontMetrics
in interface FontCache
putFontMetrics
public void putFontMetrics(FontKey key,
FontMetrics metrics)
- Specified by:
putFontMetrics
in interface FontCache
commit
public void commit()
- Specified by:
commit
in interface FontCache