MCPcopy Index your code
hub / github.com/antlr/codebuff / remove

Method remove

output/java8/1.4.17/TypeRegistry.java:158–168  ·  view source on GitHub ↗
(Object key)

Source from the content-addressed store, hash-verified

156 }
157
158 public V remove(Object key) {
159 if ( !(key instanceof Class) ) {
160 return null;
161 }
162 Class<?> clazz = (Class<?>)key;
163 V previous = get(clazz);
164 if ( backingStore.remove(clazz)!=null ) {
165 handleAlteration(clazz);
166 }
167 return previous;
168 }
169
170 public void putAll(Map<? extends Class<?>, ? extends V> m) {
171 for (Map.Entry<? extends Class<?>, ? extends V> entry : m.entrySet()) {

Callers

nothing calls this directly

Calls 3

getMethod · 0.95
handleAlterationMethod · 0.95
removeMethod · 0.65

Tested by

no test coverage detected