Code example for LinkedHashMap

Methods: clear

0
		 
		map.put(key, value);
	} 
 
	public synchronized void clear() { 
		map.clear();
	} 
 
	public synchronized Collection<Map.Entry<K, V>> getAll() {
		 
		return new ArrayList<Map.Entry<K, V>>(map.entrySet());
	} 
 
}