MCPcopy Create free account
hub / github.com/antlr/codebuff / keyOrNull

Method keyOrNull

output/java_guava/1.4.17/Maps.java:3717–3720  ·  view source on GitHub ↗
(@Nullable Entry<K, ?> entry)

Source from the content-addressed store, hash-verified

3715 }
3716
3717 @Nullable
3718 static <K> K keyOrNull(@Nullable Entry<K, ?> entry) {
3719 return (entry == null) ? null : entry.getKey();
3720 }
3721
3722 @Nullable
3723 static <V> V valueOrNull(@Nullable Entry<?, V> entry) {

Callers 15

lowerKeyMethod · 0.95
floorKeyMethod · 0.95
ceilingKeyMethod · 0.95
higherKeyMethod · 0.95
putInverseMethod · 0.95
getMethod · 0.95
pollFirstMethod · 0.45
pollLastMethod · 0.45
lowerKeyMethod · 0.45
floorKeyMethod · 0.45
ceilingKeyMethod · 0.45
higherKeyMethod · 0.45

Calls 1

getKeyMethod · 0.65

Tested by

no test coverage detected