ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/jtreg/util/LinkedHashMap/Cache.java
(Generate patch)

Comparing jsr166/src/test/jtreg/util/LinkedHashMap/Cache.java (file contents):
Revision 1.2 by jsr166, Sun Sep 5 21:32:19 2010 UTC vs.
Revision 1.3 by jsr166, Mon Dec 5 04:08:46 2011 UTC

# Line 33 | Line 33 | public class Cache {
33      private static final int MAP_SIZE = 10;
34      private static final int NUM_KEYS = 100;
35  
36 <    public static void main(String[] args)  throws Exception {
36 >    public static void main(String[] args) throws Exception {
37          Map m = new LinkedHashMap() {
38              protected boolean removeEldestEntry(Map.Entry eldest) {
39                  return size() > MAP_SIZE;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines