/** * Wraps the given map into a {@code WellBehavedEntriesMap}, which intercepts its {@code * entrySet()} method by taking the {@code Set<K> keySet()} and transforming it to {@code * Set<Entry<K, V>>}. All other invocations are delegated as-is. */ static <K, V> WellBehavedMap<K, V> wrap(Map<K, V> delegate) { return new WellBehavedMap<>(delegate); }
/** * Wraps the given map into a {@code WellBehavedEntriesMap}, which intercepts its {@code * entrySet()} method by taking the {@code Set<K> keySet()} and transforming it to {@code * Set<Entry<K, V>>}. All other invocations are delegated as-is. */ static <K, V> WellBehavedMap<K, V> wrap(Map<K, V> delegate) { return new WellBehavedMap<>(delegate); }
/** * Wraps the given map into a {@code WellBehavedEntriesMap}, which intercepts its {@code * entrySet()} method by taking the {@code Set<K> keySet()} and transforming it to {@code * Set<Entry<K, V>>}. All other invocations are delegated as-is. */ static <K, V> WellBehavedMap<K, V> wrap(Map<K, V> delegate) { return new WellBehavedMap<>(delegate); }
/** * Wraps the given map into a {@code WellBehavedEntriesMap}, which * intercepts its {@code entrySet()} method by taking the * {@code Set<K> keySet()} and transforming it to * {@code Set<Entry<K, V>>}. All other invocations are delegated as-is. */ static <K, V> WellBehavedMap<K, V> wrap(Map<K, V> delegate) { return new WellBehavedMap<K, V>(delegate); }
/** * Wraps the given map into a {@code WellBehavedEntriesMap}, which * intercepts its {@code entrySet()} method by taking the * {@code Set<K> keySet()} and transforming it to * {@code Set<Entry<K, V>>}. All other invocations are delegated as-is. */ static <K, V> WellBehavedMap<K, V> wrap(Map<K, V> delegate) { return new WellBehavedMap<K, V>(delegate); }
/** * Wraps the given map into a {@code WellBehavedEntriesMap}, which intercepts its {@code * entrySet()} method by taking the {@code Set<K> keySet()} and transforming it to {@code * Set<Entry<K, V>>}. All other invocations are delegated as-is. */ static <K, V> WellBehavedMap<K, V> wrap(Map<K, V> delegate) { return new WellBehavedMap<>(delegate); }
/** * Wraps the given map into a {@code WellBehavedEntriesMap}, which * intercepts its {@code entrySet()} method by taking the * {@code Set<K> keySet()} and transforming it to * {@code Set<Entry<K, V>>}. All other invocations are delegated as-is. */ static <K, V> WellBehavedMap<K, V> wrap(Map<K, V> delegate) { return new WellBehavedMap<K, V>(delegate); }
/** * Wraps the given map into a {@code WellBehavedEntriesMap}, which intercepts its {@code * entrySet()} method by taking the {@code Set<K> keySet()} and transforming it to {@code * Set<Entry<K, V>>}. All other invocations are delegated as-is. */ static <K, V> WellBehavedMap<K, V> wrap(Map<K, V> delegate) { return new WellBehavedMap<>(delegate); }
/** * Wraps the given map into a {@code WellBehavedEntriesMap}, which * intercepts its {@code entrySet()} method by taking the * {@code Set<K> keySet()} and transforming it to * {@code Set<Entry<K, V>>}. All other invocations are delegated as-is. */ static <K, V> WellBehavedMap<K, V> wrap(Map<K, V> delegate) { return new WellBehavedMap<K, V>(delegate); }
/** * Wraps the given map into a {@code WellBehavedEntriesMap}, which * intercepts its {@code entrySet()} method by taking the * {@code Set<K> keySet()} and transforming it to * {@code Set<Entry<K, V>>}. All other invocations are delegated as-is. */ static <K, V> WellBehavedMap<K, V> wrap(Map<K, V> delegate) { return new WellBehavedMap<K, V>(delegate); }
/** * Wraps the given map into a {@code WellBehavedEntriesMap}, which * intercepts its {@code entrySet()} method by taking the * {@code Set<K> keySet()} and transforming it to * {@code Set<Entry<K, V>>}. All other invocations are delegated as-is. */ static <K, V> WellBehavedMap<K, V> wrap(Map<K, V> delegate) { return new WellBehavedMap<K, V>(delegate); }
/** * Wraps the given map into a {@code WellBehavedEntriesMap}, which * intercepts its {@code entrySet()} method by taking the * {@code Set<K> keySet()} and transforming it to * {@code Set<Entry<K, V>>}. All other invocations are delegated as-is. */ static <K, V> WellBehavedMap<K, V> wrap(Map<K, V> delegate) { return new WellBehavedMap<K, V>(delegate); }
/** * Wraps the given map into a {@code WellBehavedEntriesMap}, which * intercepts its {@code entrySet()} method by taking the * {@code Set<K> keySet()} and transforming it to * {@code Set<Entry<K, V>>}. All other invocations are delegated as-is. */ static <K, V> WellBehavedMap<K, V> wrap(Map<K, V> delegate) { return new WellBehavedMap<K, V>(delegate); }
/** * Wraps the given map into a {@code WellBehavedEntriesMap}, which * intercepts its {@code entrySet()} method by taking the * {@code Set<K> keySet()} and transforming it to * {@code Set<Entry<K, V>>}. All other invocations are delegated as-is. */ static <K, V> WellBehavedMap<K, V> wrap(Map<K, V> delegate) { return new WellBehavedMap<K, V>(delegate); }