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

Method valueOrNull

corpus/java/training/guava/collect/Maps.java:3661–3664  ·  view source on GitHub ↗
(@Nullable Entry<?, V> entry)

Source from the content-addressed store, hash-verified

3659 }
3660
3661 @Nullable
3662 static <V> V valueOrNull(@Nullable Entry<?, V> entry) {
3663 return (entry == null) ? null : entry.getValue();
3664 }
3665
3666 static class SortedKeySet<K, V> extends KeySet<K, V> implements SortedSet<K> {
3667 SortedKeySet(SortedMap<K, V> map) {

Callers 2

getMethod · 0.95
getMethod · 0.95

Calls 1

getValueMethod · 0.65

Tested by

no test coverage detected