Parent Directory | Revision Log | Patch
revision 1.1 by ericb, Mon May 6 02:43:17 2002 UTC | revision 1.2 by mark, Wed May 8 16:10:38 2002 UTC | |
---|---|---|
# | Line 58 public final class AlphaComposite implem | Line 58 public final class AlphaComposite implem |
58 | private static final int MAX_CACHE_SIZE = 2048; | private static final int MAX_CACHE_SIZE = 2048; |
59 | ||
60 | /** Prune stale entries. */ | /** Prune stale entries. */ |
61 | protected boolean removeEldestEntry(Entry eldest) | protected boolean removeEldestEntry(Map.Entry eldest) |
62 | { | { // XXX - FIXME Use Map.Entry, not just Entry as gcj 3.1 workaround. |
63 | return size() > MAX_CACHE_SIZE; | return size() > MAX_CACHE_SIZE; |
64 | } | } |
65 | }; | }; |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |