@Override
  public T getValue() {
    _lock.readLock().lock();
    try {
      long key = Thread.currentThread().getId();
      if (_valueMap.containsKey(key)) {
        return _valueMap.get(Thread.currentThread().getId());
      }
      return _defaultValue;
    } finally {
      _lock.readLock().unlock();
    }
  }
@Override
  public T getValue() {
    _lock.readLock().lock();
    try {
      long key = Thread.currentThread().getId();
      if (_valueMap.containsKey(key)) {
        return _valueMap.get(Thread.currentThread().getId());
      }
      return _defaultValue;
    } finally {
      _lock.readLock().unlock();
    }
  }
@ Override public T getValue ( ) { _lock . readLock ( ) . lock ( ) ; try { long key = Thread . currentThread ( ) . getId ( ) ; if ( _valueMap . containsKey ( key ) ) { return _valueMap . get ( Thread . currentThread ( ) . getId ( ) ) ; } return _defaultValue ; } finally { _lock . readLock ( ) . unlock ( ) ; } }
The method getValue() returns the object contained in the Result object.

@return the object stored in the Result object
The method getValue () returns the object contained in the Result object .