Package org.apache.batik.gvt.font
Class AWTGlyphGeometryCache.Entry
- java.lang.Object
-
- java.lang.ref.Reference<T>
-
- java.lang.ref.SoftReference
-
- org.apache.batik.gvt.font.AWTGlyphGeometryCache.Entry
-
- Enclosing class:
- AWTGlyphGeometryCache
protected class AWTGlyphGeometryCache.Entry extends java.lang.ref.SoftReference
To manage collisions
-
-
Field Summary
Fields Modifier and Type Field Description char
c
The characterint
hash
The hash codeAWTGlyphGeometryCache.Entry
next
The next entry
-
Constructor Summary
Constructors Constructor Description Entry(int hash, char c, AWTGlyphGeometryCache.Value value, AWTGlyphGeometryCache.Entry next)
Creates a new entry
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
match(char o2)
Whether this entry match the given keys.
-
-
-
Field Detail
-
hash
public int hash
The hash code
-
c
public char c
The character
-
next
public AWTGlyphGeometryCache.Entry next
The next entry
-
-
Constructor Detail
-
Entry
public Entry(int hash, char c, AWTGlyphGeometryCache.Value value, AWTGlyphGeometryCache.Entry next)
Creates a new entry
-
-