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

Method EnumBiMap

output/java_guava/1.4.16/EnumBiMap.java:79–85  ·  view source on GitHub ↗
(Class<K> keyType, Class<V> valueType)

Source from the content-addressed store, hash-verified

77 }
78
79 private EnumBiMap(Class<K> keyType, Class<V> valueType) {
80 super(
81 WellBehavedMap.wrap(new EnumMap<K, V>(keyType)),
82 WellBehavedMap.wrap(new EnumMap<V, K>(valueType)));
83 this.keyType = keyType;
84 this.valueType = valueType;
85 }
86
87
88 static <K extends Enum<K>> Class<K> inferKeyType(Map<K, ?> map) {

Callers

nothing calls this directly

Calls 1

wrapMethod · 0.95

Tested by

no test coverage detected