private static int indexMiddle ( BinaryString pattern , MemorySegment [ ] segments , int start , int len ) { return SegmentsUtil . find ( segments , start , len , pattern . getSegments ( ) , pattern . getOffset ( ) , pattern . getSizeInBytes ( ) ) ; }
Matches the middle of each string to its pattern .