Class ExtensibleTreeMap<V,T extends org.eclipse.microprofile.openapi.models.Extensible<T>>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.TreeMap<String,V>
-
- fish.payara.microprofile.openapi.impl.model.ExtensibleTreeMap<V,T>
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,V>,NavigableMap<String,V>,SortedMap<String,V>,org.eclipse.microprofile.openapi.models.Extensible<T>
- Direct Known Subclasses:
APIResponsesImpl,CallbackImpl,PathsImpl
public abstract class ExtensibleTreeMap<V,T extends org.eclipse.microprofile.openapi.models.Extensible<T>> extends TreeMap<String,V> implements org.eclipse.microprofile.openapi.models.Extensible<T>
- 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Object>extensions
-
Constructor Summary
Constructors Modifier Constructor Description protectedExtensibleTreeMap()protectedExtensibleTreeMap(Map<String,? extends V> items)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaddExtension(String name, Object value)Map<String,Object>getExtensions()voidremoveExtension(String name)voidsetExtensions(Map<String,Object> extensions)-
Methods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, 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, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
-
-
-
-
Method Detail
-
getExtensions
public final Map<String,Object> getExtensions()
- Specified by:
getExtensionsin interfaceorg.eclipse.microprofile.openapi.models.Extensible<V>
-
setExtensions
public final void setExtensions(Map<String,Object> extensions)
- Specified by:
setExtensionsin interfaceorg.eclipse.microprofile.openapi.models.Extensible<V>
-
addExtension
public final T addExtension(String name, Object value)
- Specified by:
addExtensionin interfaceorg.eclipse.microprofile.openapi.models.Extensible<V>
-
-