Uses of Class
java.lang.foreign.ValueLayout.OfInt
Packages that use ValueLayout.OfIntPREVIEW
Package
Description
Provides low-level access to memory and functions outside the Java runtime.
-
Uses of ValueLayout.OfIntPREVIEW in java.lang.foreign
Fields in java.lang.foreign declared as ValueLayout.OfIntPREVIEWModifier and TypeFieldDescriptionstatic final ValueLayout.OfIntPREVIEWValueLayout.JAVA_INTA value layout constant whose size is the same as that of a Javaint, bit alignment set to 32, and byte order set toByteOrder.nativeOrder().Methods in java.lang.foreign that return ValueLayout.OfIntPREVIEWMethods in java.lang.foreign with parameters of type ValueLayout.OfIntPREVIEWModifier and TypeMethodDescriptionVaList.Builder.addVarg(ValueLayout.OfIntPREVIEW layout, int value) Writes anintvalue to the variable argument list being constructed.default MemorySegmentPREVIEWSegmentAllocator.allocate(ValueLayout.OfIntPREVIEW layout, int value) Allocates a memory segment with the given layout and initializes it with the given int value.default MemorySegmentPREVIEWSegmentAllocator.allocateArray(ValueLayout.OfIntPREVIEW elementLayout, int... elements) Allocates a memory segment with the given layout and initializes it with the given int elements.intMemoryAddress.get(ValueLayout.OfIntPREVIEW layout, long offset) Reads an int from this address at the given offset, with the given layout.default intMemorySegment.get(ValueLayout.OfIntPREVIEW layout, long offset) Reads an int from this segment at the given offset, with the given layout.intMemoryAddress.getAtIndex(ValueLayout.OfIntPREVIEW layout, long index) Reads an int from this address at the given index, scaled by the given layout size.default intMemorySegment.getAtIndex(ValueLayout.OfIntPREVIEW layout, long index) Reads an int from this segment at the given index, scaled by the given layout size.intVaList.nextVarg(ValueLayout.OfIntPREVIEW layout) Reads the next value as anintand advances this variable argument list's position.voidMemoryAddress.set(ValueLayout.OfIntPREVIEW layout, long offset, int value) Writes an int into this address at the given offset, with the given layout.default voidMemorySegment.set(ValueLayout.OfIntPREVIEW layout, long offset, int value) Writes an int into this segment at the given offset, with the given layout.voidMemoryAddress.setAtIndex(ValueLayout.OfIntPREVIEW layout, long index, int value) Writes an int into this address at the given index, scaled by the given layout size.default voidMemorySegment.setAtIndex(ValueLayout.OfIntPREVIEW layout, long index, int value) Writes an int into this segment at the given index, scaled by the given layout size.int[]MemorySegment.toArray(ValueLayout.OfIntPREVIEW elementLayout) Copy the contents of this memory segment into a new int array.