public static double getDouble ( MemorySegment [ ] segments , int offset ) { if ( inFirstSegment ( segments , offset , 8 ) ) { return segments [ 0 ] . getDouble ( offset ) ; } else { return getDoubleMultiSegments ( segments , offset ) ; } }
get double from segments .