Code example for LinkedHashMap

Methods: values

0
        assertSame("EMPTY_MAP", map3.values(), map3.values());
 
        AbstractMap map4 = new IdentityHashMap(1);
        assertSame("IdentityHashMap", map4.values(), map4.values());
 
        AbstractMap map5 = new LinkedHashMap(122);
        assertSame("IdentityHashMap", map5.values(), map5.values());
 
        AbstractMap map6 = new TreeMap();
        assertSame("TreeMap", map6.values(), map6.values());
 
        AbstractMap map7 = new WeakHashMap();
        assertSame("WeakHashMap", map7.values(), map7.values());
    } 
 
    /** 
     * java.util.AbstractMap#clone() 
     */ 
    public void test_clone() { 
        class MyMap extends AbstractMap implements Cloneable {
            private Map map = new HashMap();