(int expectedSize)
| 126 | } |
| 127 | |
| 128 | private void init(int expectedSize) { |
| 129 | checkNonnegative(expectedSize, "expectedSize"); |
| 130 | int tableSize = Hashing.closedTableSize(expectedSize, LOAD_FACTOR); |
| 131 | this.hashTableKToV = createTable(tableSize); |
| 132 | this.hashTableVToK = createTable(tableSize); |
| 133 | this.firstInKeyInsertionOrder = null; |
| 134 | this.lastInKeyInsertionOrder = null; |
| 135 | this.size = 0; |
| 136 | this.mask = tableSize - 1; |
| 137 | this.modCount = 0; |
| 138 | } |
| 139 | |
| 140 | /** |
| 141 | * Finds and removes {@code entry} from the bucket linked lists in both the |
no test coverage detected