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

Method wrap

output/java_guava/1.4.17/WellBehavedMap.java:54–56  ·  view source on GitHub ↗

Wraps the given map into a WellBehavedEntriesMap, which intercepts its entrySet() method by taking the Set keySet() and transforming it to Set >. All other invocations are delegated as-is.

(Map<K, V> delegate)

Source from the content-addressed store, hash-verified

52
53
54 static <K, V> WellBehavedMap<K, V> wrap(Map<K, V> delegate) {
55 return new WellBehavedMap<K, V>(delegate);
56 }
57
58 @Override
59 protected Map<K, V> delegate() {

Callers 6

EnumBiMapMethod · 0.95
readObjectMethod · 0.95
EnumHashBiMapMethod · 0.95
readObjectMethod · 0.95
EnumMultisetMethod · 0.95
readObjectMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected