vlsi/compactmap — Issue #2: size should account removed keys
Author: vlsi
Created: 2011-11-11 07:49:33+00:00
State: open

``` java
@Test
public void removeShouldBeReflectedInSize() {
CompactHashMap map = new CompactHashMap();
map.put("charset", "UTF-8");
map.remove("charset");
Assert.assertEquals(map.size(), 0);
Assert.assertFalse(map.containsKey("charset"));
}
```