public V get ( final K key ) { synchronized ( _map ) { final ManagedItem < V > item = _map . get ( key ) ; if ( item == null ) { return null ; } if ( _ttl > - 1 && System . currentTimeMillis ( ) - item . _insertionTime > _ttl ) { _map . remove ( key ) ; return null ; } return item . _value ; } }
Returns the value that was stored to the given key .