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)
| 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() { |
no outgoing calls
no test coverage detected