MCPcopy Create free account
hub / github.com/GateNLP/gate-core / get

Method get

src/main/java/gate/util/RBTreeMap.java:257–261  ·  view source on GitHub ↗

Returns the value to which this map maps the specified key. Returns null if the map contains no mapping for this key. A return value of null does not necessarily indicate that the map contains no mapping for the key; it's also possible that the map explicitly maps the key

(Object key)

Source from the content-addressed store, hash-verified

255 * @see #containsKey(Object)
256 */
257 @Override
258 public V get(Object key) {
259 Entry<K,V> p = getEntry(key);
260 return p==null ? null : p.value;
261 }
262
263 /**
264 * Returns the comparator used to order this map, or <tt>null</tt> if this

Callers

nothing calls this directly

Calls 1

getEntryMethod · 0.95

Tested by

no test coverage detected