public V put(K key, V value)
  {
    Entry<V> oldValue = _cache.put(key, new Entry<V>(_expireInterval, value));

    if (oldValue != null)
      return oldValue.getValue();
    else
      return null;
  }
public V put ( K key , V value ) { Entry < V > oldValue = _cache . put ( key , new Entry < V > ( _expireInterval , value ) ) ; if ( oldValue != null ) return oldValue . getValue ( ) ; else return null ; }
Put a new item in the cache.