MCPcopy Create free account
hub / github.com/ReadyTalk/avian / make

Method make

classpath/java/util/HashMap.java:311–313  ·  view source on GitHub ↗
(K key, V value, Cell<K, V> next)

Source from the content-addressed store, hash-verified

309
310 static class MyHelper<K, V> implements Helper<K, V> {
311 public Cell<K, V> make(K key, V value, Cell<K, V> next) {
312 return new MyCell(key, value, next, hash(key));
313 }
314
315 public int hash(K a) {
316 return (a == null ? 0 : a.hashCode());

Callers

nothing calls this directly

Calls 1

hashMethod · 0.95

Tested by

no test coverage detected