Retrives the object associated with a particular key from the map.
@param key
@return Object
@throws SIErrorException if the element did not exist
190772
public Object get(int key) throws SIErrorException                                     // D214655
   {
      if (tc.isEntryEnabled()) SibTr.entry(tc, "get");

      if (tc.isDebugEnabled()) SibTr.debug(tc, "key: "+key);                                    // f174137
      captiveComparitorKey.setValue(key);

      if (tc.isDebugEnabled()) SibTr.debug(tc, "captiveComparitorKey: "+captiveComparitorKey);  // f174317

      // Start D214655
      Object retObject = map.get(captiveComparitorKey);

      if (retObject == null)
      {
         // If no object existed this is always an error too

         throw new SIErrorException(
            nls.getFormattedMessage("NO_SUCH_KEY_SICO2059", new Object[] {""+key}, null)  // D256974
         );
      }

      if (tc.isEntryEnabled()) SibTr.exit(tc, "get");
      return retObject;
      // End D214655
   }
992432
public final Object get(String key) {
		try {
			this.mutex.acquire();

			return this.valueMap.get(key);
		} finally {
			try {
				this.mutex.release();
			} catch (Exception ignore) {
			}
		}
	}
450385
public JSONObject getObject(String key) {
        Object tmp = objectMap.get(key);
        return tmp == null ? null
                : tmp instanceof JSONObject ? (JSONObject) tmp : null;
    }
237081
@SuppressWarnings("unchecked")
  public boolean contains(final Object key) {
    // validate key
    if (key == null) {
      throw new IllegalArgumentException("Null element is not supported.");
    }
    // find element
    final int hashCode = ((T)key).hashCode();
    final int index = getIndex(hashCode);
    return containsElem(index, (T) key, hashCode);
  }
867309
public T get(Object key) {
        SoftReference<T> ref = cache.get(key);
        T ob;
        
        if( ref == null ) {
            return null;
        }
        ob = ref.get();
        if( ob == null ) {
            release(key);
        }
        if( ob instanceof CachedItem ) {
            if( !((CachedItem)ob).isValidForCache() ) {
                release(key);
                return null;
            }
        }
        return ob;
    }
338281
public Object get(Object key) {
      NonSyncHashtableEntry tab[] = table;
      int hash = key.hashCode();
      int index = (hash & 0x7FFFFFFF) % tab.length;
      for (NonSyncHashtableEntry e = tab[index]; e != null; e = e.next) {
         if ((e.hash == hash) && e.key.equals(key)) {
            return e.value;
         }
      }
      return null;
   }
75751
public RepairDigramRecord get(String key) {
    RepairQueueNode el = this.elements.get(key);
    if (null != el) {
      return el.payload;
    }
    return null;
  }
188913
function (key) {
            var hash = hashFunction(key), ret = false;
            var bucket = null;
            if ((bucket = this.__map[hash]) != null) {
                ret = bucket.find(key) != null;
            }
            return ret;
        }
296257
protected static Object fetch(String key) {
        List valuesArray = (List) fetchObject(key);
        return valuesArray.get(RandomUtils.nextInt(valuesArray.size()));
    }
952596
public Object get(Object key)
    {
        purge();
        Entry entry = getEntry(key);
        if (entry == null) return null;
        return entry.getValue();
    }
865507
@Override
	public Object remove(String key) {

		Element element = cache.get(key);
		if (element != null) {
			cache.remove(key);
		}
		return element;
	}
800011
public Object get(long key)
	{
		if (tc.isEntryEnabled()) Tr.entry(tc, "get", new Object[]{new Long(key), this});
		
		int hash = getHashForExistingEntry(key);
		Object value = null;
         
        if (hash >= 0)
        {
            value = _values[hash];
        }
		
		if (tc.isEntryEnabled()) Tr.exit(tc, "get", value);				
		return value;
	}
427630
public Object getMapElement(Object o, String key) {
        return ((Map)o).get(key);
    }
1009998
public final MtasSolrStatus get(String key) throws IOException {
    return index.get(Objects.requireNonNull(key, "no key provided"));
  }
946558
public Object get(Object key) {
        Object value = mMap.get(key);
        if (value instanceof List) {
            return ((List)value).get(0);
        }
        else {
            return value;
        }
    }
188084
def get(self, key):
        
        self._get_table()
        s = self.table.get_item(key=key)
        log.debug("Retrieved from key '%s' the object: '%s'" % (key, s['value']))
        return self.from_string(s['value'])
480501
@Override
    public Object get(Object key)
    {
        Element element = null;
        if(isAlive())
        {
            element = ehcache.get(key);
        }
        return element == null ? null : element.getObjectValue();
    }