MCPcopy Create free account
hub / github.com/antlr/codebuff / put

Method put

output/java_guava/1.4.19/Defaults.java:53–55  ·  view source on GitHub ↗
(Map<Class<?>, Object> map, Class<T> type, T value)

Source from the content-addressed store, hash-verified

51
52
53 private static <T> void put(Map<Class<?>, Object> map, Class<T> type, T value) {
54 map.put(type, value);
55 }
56
57 /**
58 * Returns the default value of {@code type} as defined by JLS --- {@code 0} for numbers, {@code

Callers 1

DefaultsClass · 0.95

Calls 1

putMethod · 0.65

Tested by

no test coverage detected