public void test_headMap() throws Exception {
TreeMap tree = new TreeMap();
tree.put(new Integer(0), null);
tree.put(new Integer(1), null);
Map submap = tree.subMap(tree.firstKey(), tree.lastKey());
tree.remove(tree.lastKey());
assertEquals(submap, tree);
}
public void testname() throws Exception {
TreeMap nullTree = new TreeMap(new Comparator() {