Interface Mapping.Long
- All Superinterfaces:
DataMapping<ValueLayout.OfLong>, IntegerMapping<ValueLayout.OfLong>, Mapping<ValueLayout.OfLong>, PrimitiveMapping<ValueLayout.OfLong>
- Enclosing interface:
Mapping<L extends MemoryLayout>
-
Nested Class Summary
Nested classes/interfaces inherited from interface Mapping
Mapping.Boolean, Mapping.Byte, Mapping.Char, Mapping.CLong, Mapping.Double, Mapping.Float, Mapping.Int, Mapping.Long, Mapping.Opaque, Mapping.Pointer, Mapping.Sequence, Mapping.Short, Mapping.Size, Mapping.Struct, Mapping.Union -
Method Summary
Modifier and TypeMethodDescriptiondefault Mapping.Longcconst()Creates a new instance of this mapping with the Cconstqualifierdefault longget(MemorySegment segment, long offset) default longgetAligned(MemorySegment segment, long offset) default longgetAtIndex(MemorySegment segment, long index) default longgetAtIndexAligned(MemorySegment segment, long index) default Mapping.Longset(MemorySegment segment, long offset, long value) default Mapping.LongsetAligned(MemorySegment segment, long offset, long value) default Mapping.LongsetAtIndex(MemorySegment segment, long index, long value) default Mapping.LongsetAtIndexAligned(MemorySegment segment, long index, long value) default Mapping.LongCreates a new instance of this mapping with the specified type name.default Mapping.LongwithByteAlignment(long byteAlignment) Returns a copy of this mapping with the specified byte alignment.Methods inherited from interface DataMapping
allocateSegment, allocateSegment, allocateSegment, allocateSegment, array, mallocSegment, mallocSegmentMethods inherited from interface IntegerMapping
signed
-
Method Details
-
withByteAlignment
Description copied from interface:DataMappingReturns a copy of this mapping with the specified byte alignment.- Specified by:
withByteAlignmentin interfaceDataMapping<ValueLayout.OfLong>- Specified by:
withByteAlignmentin interfacePrimitiveMapping<ValueLayout.OfLong>- Parameters:
byteAlignment- the new byte alignment- Returns:
- the new mapping
-
typedef
Description copied from interface:MappingCreates a new instance of this mapping with the specified type name.- Specified by:
typedefin interfaceIntegerMapping<ValueLayout.OfLong>- Specified by:
typedefin interfaceMapping<ValueLayout.OfLong>- Specified by:
typedefin interfacePrimitiveMapping<ValueLayout.OfLong>- Returns:
- the new mapping
-
cconst
Description copied from interface:MappingCreates a new instance of this mapping with the Cconstqualifier- Specified by:
cconstin interfaceMapping<ValueLayout.OfLong>- Returns:
- the new mapping
-
get
-
getAtIndex
-
getAligned
-
getAtIndexAligned
-
set
-
setAtIndex
-
setAligned
-
setAtIndexAligned
-