Segment < K , V , E , S > segmentFor ( int hash ) { // TODO(fry): Lazily create segments? return segments [ ( hash >>> segmentShift ) & segmentMask ] ; }
Returns the segment that should be used for a key with the given hash .