Module org.eclipse.persistence.core
Class NamespaceResolverStorage
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<String,String>
-
- org.eclipse.persistence.internal.oxm.NamespaceResolverStorage
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,String>
public class NamespaceResolverStorage extends LinkedHashMap<String,String>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description NamespaceResolverStorage()NamespaceResolverStorage(int initialCapacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Map.Entry<String,String>>entrySet()Unmodifiable set of entriesVector<Namespace>getNamespaces()Set<String>keySet()Unmodifiable set of keysStringput(String key, String value)voidputAll(Map<? extends String,? extends String> m)StringputIfAbsent(String key, String value)Stringremove(Object key)booleanremove(Object key, Object value)Stringreplace(String key, String value)booleanreplace(String key, String oldValue, String newValue)voidreplaceAll(BiFunction<? super String,? super String,? extends String> function)voidsetNamespaces(Vector<Namespace> namespaces)Collection<String>values()Unmodifiable collection of values-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, forEach, get, getOrDefault, removeEldestEntry
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, size
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, size
-
-
-
-
Method Detail
-
putIfAbsent
public String putIfAbsent(String key, String value)
- Specified by:
putIfAbsentin interfaceMap<String,String>- Overrides:
putIfAbsentin classHashMap<String,String>
-
values
public Collection<String> values()
Unmodifiable collection of values
-
replaceAll
public void replaceAll(BiFunction<? super String,? super String,? extends String> function)
- Specified by:
replaceAllin interfaceMap<String,String>- Overrides:
replaceAllin classLinkedHashMap<String,String>
-
-