Class CharMapper
java.lang.Object
cool.scx.ffm.type.mapper.CharMapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromMemorySegment(MemorySegment memorySegment) 从 MemorySegment (内存段) 设置值chargetValue()voidsetValue(char value) toMemorySegment(Arena arena) 将内部数据转换为 MemorySegment (内存段)
-
Constructor Details
-
CharMapper
public CharMapper() -
CharMapper
public CharMapper(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
-