Returns first entry of bin for given hash.
(int hash)
| 2787 | */ |
| 2788 | |
| 2789 | ReferenceEntry<K, V> getFirst(int hash) { |
| 2790 | // read this volatile field only once |
| 2791 | AtomicReferenceArray<ReferenceEntry<K, V>> table = this.table; |
| 2792 | return table.get(hash & (table.length() - 1)); |
| 2793 | } |
| 2794 | |
| 2795 | // Specialized implementations of map methods |
| 2796 |