Class CharArrayMapper
java.lang.Object
cool.scx.ffm.mapper.CharArrayMapper
- All Implemented Interfaces:
Mapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfromMemorySegment(MemorySegment memorySegment) 从 MemorySegment (内存段) 设置值char[]getValue()voidsetValue(char[] value) toMemorySegment(Arena arena) 将内部数据转换为 MemorySegment (内存段)
-
Constructor Details
-
CharArrayMapper
public CharArrayMapper(char[] value)
-
-
Method Details
-
getValue
public char[] getValue() -
setValue
public void setValue(char[] value) -
toMemorySegment
Description copied from interface:Mapper将内部数据转换为 MemorySegment (内存段)- Specified by:
toMemorySegmentin interfaceMapper- Parameters:
arena- 作用域- Returns:
- MemorySegment
-
fromMemorySegment
Description copied from interface:Mapper从 MemorySegment (内存段) 设置值- Specified by:
fromMemorySegmentin interfaceMapper- Parameters:
memorySegment- a
-