code format

This commit is contained in:
wenshao
2011-11-16 14:07:08 +08:00
parent 146bcd728c
commit bb57f86db1
157 changed files with 888 additions and 912 deletions
+6 -6
View File
@@ -4,21 +4,21 @@ import java.util.LinkedHashMap;
import junit.framework.TestCase;
public class TestLRU extends TestCase {
public void test_lru() throws Exception {
LinkedHashMap<Integer, Object> cache = new LinkedHashMap<Integer, Object>(100, 0.75f, true);
cache.put(2, "22");
cache.put(3, "33");
System.out.println(cache);
cache.put(2, "22");
System.out.println(cache);
cache.get(3);
System.out.println(cache);
}
}