Package org.stringtemplate.v4.misc
Class TypeRegistry<V>
java.lang.Object
org.stringtemplate.v4.misc.TypeRegistry<V>
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()protected voidhandleAlteration(Class<?> clazz) booleanisEmpty()keySet()voidintsize()values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
backingStore
-
cache
-
-
Constructor Details
-
TypeRegistry
public TypeRegistry()
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<Class<?>,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<Class<?>,V>
-
get
- Specified by:
getin interfaceMap<Class<?>,V> - Throws:
AmbiguousMatchException- if the registry contains more than value mapped to a maximally-specific type from whichkeyis derived.
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
handleAlteration
-