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

Method createTable

lab08/src/hashmap/MyHashMap.java:84–86  ·  view source on GitHub ↗

Returns a table to back our hash table. As per the comment above, this table can be an array of Collection objects BE SURE TO CALL THIS FACTORY METHOD WHEN CREATING A TABLE SO THAT ALL BUCKET TYPES ARE OF JAVA.UTIL.COLLECTION @param tableSize the size of the table to create

(int tableSize)

Source from the content-addressed store, hash-verified

82 * @param tableSize the size of the table to create
83 */
84 private Collection<Node>[] createTable(int tableSize) {
85 return null;
86 }
87
88 // TODO: Implement the methods of the Map61B Interface below
89 // Your code won't compile until you do so!

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected