@Override
    public Map<K, V> clearAll() {
        Map<K, V> result = new LinkedHashMap<K, V>(map);
        map.clear();
        return result;
    }
@ Override public Map < K , V > clearAll ( ) { Map < K , V > result = new LinkedHashMap < K , V > ( map ) ; map . clear ( ) ; return result ; }
{@inheritDoc}