Uses of Class
jdk.incubator.foreign.ValueLayout.OfInt
Packages that use ValueLayout.OfInt
Package
Description
Classes to support low-level and efficient foreign memory/function access, directly from Java.
-
Uses of ValueLayout.OfInt in jdk.incubator.foreign
Fields in jdk.incubator.foreign declared as ValueLayout.OfIntModifier and TypeFieldDescriptionstatic final ValueLayout.OfIntValueLayout.JAVA_INTA value layout constant whose size is the same as that of a Javaint, bit alignment set to 8, and byte order set toByteOrder.nativeOrder().Methods in jdk.incubator.foreign that return ValueLayout.OfIntMethods in jdk.incubator.foreign with parameters of type ValueLayout.OfIntModifier and TypeMethodDescriptionVaList.Builder.addVarg(ValueLayout.OfInt layout, int value) Writes anintvalue to the variable argument list being constructed.default MemorySegmentSegmentAllocator.allocate(ValueLayout.OfInt layout, int value) Allocate a memory segment with given layout and initialize it with given int value.default MemorySegmentSegmentAllocator.allocateArray(ValueLayout.OfInt elementLayout, int[] array) Allocate a memory segment with given layout and initialize it with given int array.intMemoryAddress.get(ValueLayout.OfInt layout, long offset) Reads an int from this address and offset with given layout.default intMemorySegment.get(ValueLayout.OfInt layout, long offset) Reads an int from this segment and offset with given layout.intMemoryAddress.getAtIndex(ValueLayout.OfInt layout, long index) Reads an int from this address and index, scaled by given layout size.default intMemorySegment.getAtIndex(ValueLayout.OfInt layout, long index) Reads an int from this segment and index, scaled by given layout size.intVaList.nextVarg(ValueLayout.OfInt layout) Reads the next value as anintand advances this variable argument list's position.voidMemoryAddress.set(ValueLayout.OfInt layout, long offset, int value) Writes an int to this address instance and offset with given layout.default voidMemorySegment.set(ValueLayout.OfInt layout, long offset, int value) Writes an int to this segment and offset with given layout.voidMemoryAddress.setAtIndex(ValueLayout.OfInt layout, long index, int value) Writes an int to this address instance and index, scaled by given layout size.default voidMemorySegment.setAtIndex(ValueLayout.OfInt layout, long index, int value) Writes an int to this segment and index, scaled by given layout size.int[]MemorySegment.toArray(ValueLayout.OfInt elementLayout) Copy the contents of this memory segment into a fresh int array.