Constructor and Description |
---|
TypeRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<Class<?>,V>> |
entrySet() |
V |
get(Object key) |
protected void |
handleAlteration(Class<?> clazz) |
boolean |
isEmpty() |
Set<Class<?>> |
keySet() |
V |
put(Class<?> key,
V value) |
void |
putAll(Map<? extends Class<?>,? extends V> m) |
V |
remove(Object key) |
int |
size() |
Collection<V> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public boolean containsKey(Object key)
containsKey
in interface Map<Class<?>,V>
public boolean containsValue(Object value)
containsValue
in interface Map<Class<?>,V>
public V get(Object key)
get
in interface Map<Class<?>,V>
AmbiguousMatchException
- if the registry contains more than value
mapped to a maximally-specific type from which key
is derived.protected void handleAlteration(Class<?> clazz)
Copyright © 2024. All rights reserved.