public V put(K arg0, V arg1)
  {
    if (TraceComponent.isAnyTracingEnabled() && _tc.isEntryEnabled()) SibTr.entry(this, _tc, "put", new Object[]{arg0, arg1});
    TimedValue<V> newValue = new TimedValue<V>(arg1, _timeout);
    TimedValue<V> oldValue = _realMap.put(arg0, newValue);
    
    V value = null;
    if (oldValue != null && !oldValue.hasExipred())
    {
      value = oldValue.get();
    }
   
    if (TraceComponent.isAnyTracingEnabled() && _tc.isEntryEnabled()) SibTr.exit(this, _tc, "put", value);
    return value;
  }
public V put ( K arg0 , V arg1 ) { if ( TraceComponent . isAnyTracingEnabled ( ) && _tc . isEntryEnabled ( ) ) SibTr . entry ( this , _tc , "put" , new Object [ ] { arg0 , arg1 } ) ; TimedValue < V > newValue = new TimedValue < V > ( arg1 , _timeout ) ; TimedValue < V > oldValue = _realMap . put ( arg0 , newValue ) ; V value = null ; if ( oldValue != null && ! oldValue . hasExipred ( ) ) { value = oldValue . get ( ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && _tc . isEntryEnabled ( ) ) SibTr . exit ( this , _tc , "put" , value ) ; return value ; }
@param arg0 The key
@param arg1 The value
@return The previous value bound with the key.
@see Map#put(Object, Object)