Constructor | Description |
---|---|
TypeRegistry() |
Modifier and Type | Method | 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() |
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 © 2019. All rights reserved.