(Object key)
| 519 | } |
| 520 | |
| 521 | Entry<K, V> getEntry(Object key) { |
| 522 | int hash = key.hashCode(); |
| 523 | int index = (hash & 0x7FFFFFFF) % elementData.length; |
| 524 | Entry<K, V> entry = elementData[index]; |
| 525 | while (entry != null) { |
| 526 | if (entry.equalsKey(key, hash)) { |
| 527 | return entry; |
| 528 | } |
| 529 | entry = entry.next; |
| 530 | } |
| 531 | return null; |
| 532 | } |
| 533 | |
| 534 | @Override |
| 535 | public synchronized int hashCode() { |
no test coverage detected