Returns buckets index for a hash code. @param h hash code @param n number of available buckets @return index of a buckets
(final int h, final int n)
| 197 | * @return index of a buckets |
| 198 | */ |
| 199 | private static int indexFor(final int h, final int n) { |
| 200 | return h & n - 1; |
| 201 | } |
| 202 | |
| 203 | /** |
| 204 | * Cache buckets entry. Used to implement a linked list of cache entries for each bucket. |