code: private int getHashPositionOfElement(Block block, int position)
      {
          int hashPosition = getMaskedHash(hashPosition(elementType, block, position));
          while (true) {
              int blockPosition = blockPositionByHash.get(hashPosition);
              // Doesn't have this element
              if (blockPosition == EMPTY_SLOT) {
                  return hashPosition;
              }
              // Already has this element
              else if (positionEqualsPosition(elementType, elementBlock, blockPosition, block, position)) {
                  return hashPosition;
              }
  
              hashPosition = getMaskedHash(hashPosition + 1);
          }
      }
docs: Get slot position of element at {@code position} of {@code block}