Code example for LinkedHashMap

Methods: keySet

0
        assertSame("EMPTY_MAP", map3.keySet(), map3.keySet());
 
        AbstractMap map4 = new IdentityHashMap(1);
        assertSame("IdentityHashMap", map4.keySet(), map4.keySet());
 
        AbstractMap map5 = new LinkedHashMap(122);
        assertSame("LinkedHashMap", map5.keySet(), map5.keySet());
 
        AbstractMap map6 = new TreeMap();
        assertSame("TreeMap", map6.keySet(), map6.keySet());
 
        AbstractMap map7 = new WeakHashMap();
        assertSame("WeakHashMap", map7.keySet(), map7.keySet());
    } 
 
    /** 
     * java.util.AbstractMap#remove(java.lang.Object) 
     */ 
    public void test_removeLjava_lang_Object() { 
        Object key = new Object();
        Object value = new Object();