We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ef9b17 commit 16a2e38Copy full SHA for 16a2e38
src/main/lists/HashTable.java
@@ -21,10 +21,9 @@ class HashTableNode<K, V> {
21
* bucket is {@code null} if no key-value pair whose key hashes to the bucket's index has been
22
* added.
23
*
24
- * <p>
25
- * All operations ({@code put}, {@code remove}, and {@code get}) are O(1) at
26
- * best (when the load factor is good and the hash function is random) and O(n)
27
- * at worst (when a hash function produces highest clustering).
+ * <p>All operations ({@code put}, {@code remove}, and {@code get}) are O(1) at best (when the load
+ * factor is good and the hash function is random) and O(n) at worst (when a hash function produces
+ * highest clustering).
28
*/
29
@SuppressWarnings("unchecked")
30
public class HashTable<K, V> {
0 commit comments