MCPcopy Create free account
hub / github.com/Berkeley-CS61B/skeleton-sp23 / Entry

Method Entry

lab07/src/ULLMap.java:76–80  ·  view source on GitHub ↗

Stores KEY as the key in this key-value pair, VAL as the value, and NEXT as the next node in the linked list.

(K k, V v, Entry n)

Source from the content-addressed store, hash-verified

74 /** Stores KEY as the key in this key-value pair, VAL as the value, and
75 * NEXT as the next node in the linked list. */
76 Entry(K k, V v, Entry n) {
77 key = k;
78 val = v;
79 next = n;
80 }
81
82 /** Returns the Entry in this linked list of key-value pairs whose key
83 * is equal to KEY, or null if no such Entry exists. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected