put

public final V put(K key, V value)

Caches value for key. The value is moved to the head of the queue.

Return

the previous value mapped by key.