Class ListMemorySegmentSource

    • Constructor Detail

      • ListMemorySegmentSource

        public ListMemorySegmentSource​(List<MemorySegment> memorySegments)
    • Method Detail

      • nextSegment

        public MemorySegment nextSegment()
        Description copied from interface: MemorySegmentSource
        Gets the next memory segment. If no more segments are available, it returns null.
        Specified by:
        nextSegment in interface MemorySegmentSource
        Returns:
        The next memory segment, or null, if none is available.