MCPcopy Create free account
hub / github.com/Berkeley-CS61B/lectureCode-sp15 / invert

Method invert

lec17/live2/Map/ULLMap.java:60–66  ·  view source on GitHub ↗

Returns the result of inverting DICT so that keys become values and values become keys. If more than one key corresponds to the same value, then an arbitrary key is chosen to be the new value.

(ULLMap<K, V> dict)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

putMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected