/** * Creates a new {@link CopyOnWriteMap} with an underlying * {@link LinkedHashMap}. Iterators for this map will be return elements in * insertion order. * * @deprecated use the {@link CopyOnWriteMap#newLinkedMap()} instead. */ @Deprecated public static <K, V> CopyOnWriteMap<K, V> newLinkedMap() { return CopyOnWriteMap.newLinkedMap(); }
/** * Creates a new {@link CopyOnWriteMap} with an underlying * {@link LinkedHashMap} using the supplied map as the initial values. * Iterators for this map will be return elements in insertion order. * * @deprecated use the {@link CopyOnWriteMap#newLinkedMap(Map)} instead. */ @Deprecated public static <K, V> CopyOnWriteMap<K, V> newLinkedMap(final Map<? extends K, ? extends V> map) { return CopyOnWriteMap.newLinkedMap(map); }