Package org.apache.batik.gvt.font
Class AWTGlyphGeometryCache
- java.lang.Object
-
- org.apache.batik.gvt.font.AWTGlyphGeometryCache
-
public class AWTGlyphGeometryCache extends java.lang.ObjectThis class represents a doubly indexed hash table, which holds soft references to the contained glyph geometry informations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAWTGlyphGeometryCache.ValueThe object that holds glyph geometry.
-
Constructor Summary
Constructors Constructor Description AWTGlyphGeometryCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()Clears the table.AWTGlyphGeometryCache.Valueget(char c)Gets the value of a variablevoidput(char c, AWTGlyphGeometryCache.Value value)Sets a new value for the given variable
-
-
-
Method Detail
-
get
public AWTGlyphGeometryCache.Value get(char c)
Gets the value of a variable- Returns:
- the value or null
-
put
public void put(char c, AWTGlyphGeometryCache.Value value)Sets a new value for the given variable
-
clear
public void clear()
Clears the table.
-
-