(Object key)
| 481 | } |
| 482 | |
| 483 | Entry<K, V> getEntry(Object key) { |
| 484 | int hash = key.hashCode(); |
| 485 | int index = (hash & 0x7FFFFFFF) % elementData.length; |
| 486 | Entry<K, V> entry = elementData[index]; |
| 487 | while (entry != null) { |
| 488 | if (entry.equalsKey(key, hash)) { |
| 489 | return entry; |
| 490 | } |
| 491 | entry = entry.next; |
| 492 | } |
| 493 | return null; |
| 494 | } |
| 495 | |
| 496 | @Override |
| 497 | public synchronized int hashCode() { |
no test coverage detected