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