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

Method unmodifiableOrNull

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

Source from the content-addressed store, hash-verified

3250 }
3251
3252 @Nullable
3253 private static <K, V> Entry<K, V> unmodifiableOrNull(@Nullable Entry<K, V> entry) {
3254 return (entry == null) ? null : Maps.unmodifiableEntry(entry);
3255 }
3256
3257 @GwtIncompatible // NavigableMap
3258 static class UnmodifiableNavigableMap<K, V> extends ForwardingSortedMap<K, V>

Callers 6

lowerEntryMethod · 0.45
floorEntryMethod · 0.45
ceilingEntryMethod · 0.45
higherEntryMethod · 0.45
firstEntryMethod · 0.45
lastEntryMethod · 0.45

Calls 1

unmodifiableEntryMethod · 0.95

Tested by

no test coverage detected