code: private LinkedHashMapSegment<K, V> segmentFor(int hash) {
          int h = hash(hash);
          return segments[(h >>> segmentShift) & segmentMask];
      }
docs: Returns the segment that should be used for key with given hash
  
  @param hash the hash code for the key
  @return the segment