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

Method key

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

Returns the key corresonding to the specified Entry. Throw NoSuchElementException if the Entry is null .

(Entry<X,Y> e)

Source from the content-addressed store, hash-verified

424 * NoSuchElementException if the Entry is <tt>null</tt>.
425 */
426 private static <X,Y> X key(Entry<X,Y> e) {
427 if (e==null)
428 throw new NoSuchElementException();
429 return e.key;
430 }
431
432 /**
433 * Associates the specified value with the specified key in this map.

Callers 4

firstKeyMethod · 0.95
lastKeyMethod · 0.95
firstKeyMethod · 0.80
lastKeyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected