Uses of Class
java.lang.foreign.ValueLayout.OfDouble
Packages that use ValueLayout.OfDoublePREVIEW
Package
Description
Provides low-level access to memory and functions outside the Java runtime.
-
Uses of ValueLayout.OfDoublePREVIEW in java.lang.foreign
Fields in java.lang.foreign declared as ValueLayout.OfDoublePREVIEWModifier and TypeFieldDescriptionstatic final ValueLayout.OfDoublePREVIEWValueLayout.JAVA_DOUBLEA value layout constant whose size is the same as that of a Javadouble, bit alignment set to 64, and byte order set toByteOrder.nativeOrder().Methods in java.lang.foreign that return ValueLayout.OfDoublePREVIEWMethods in java.lang.foreign with parameters of type ValueLayout.OfDoublePREVIEWModifier and TypeMethodDescriptionVaList.Builder.addVarg(ValueLayout.OfDoublePREVIEW layout, double value) Writes adoublevalue to the variable argument list being constructed.default MemorySegmentPREVIEWSegmentAllocator.allocate(ValueLayout.OfDoublePREVIEW layout, double value) Allocates a memory segment with the given layout and initializes it with the given double value.default MemorySegmentPREVIEWSegmentAllocator.allocateArray(ValueLayout.OfDoublePREVIEW elementLayout, double... elements) Allocates a memory segment with the given layout and initializes it with the given double elements.doubleMemoryAddress.get(ValueLayout.OfDoublePREVIEW layout, long offset) Reads a double from this address at the given offset, with the given layout.default doubleMemorySegment.get(ValueLayout.OfDoublePREVIEW layout, long offset) Reads a double from this segment at the given offset, with the given layout.doubleMemoryAddress.getAtIndex(ValueLayout.OfDoublePREVIEW layout, long index) Reads a double from this address at the given index, scaled by the given layout size.default doubleMemorySegment.getAtIndex(ValueLayout.OfDoublePREVIEW layout, long index) Reads a double from this segment at the given index, scaled by the given layout size.doubleVaList.nextVarg(ValueLayout.OfDoublePREVIEW layout) Reads the next value as adoubleand advances this variable argument list's position.voidMemoryAddress.set(ValueLayout.OfDoublePREVIEW layout, long offset, double value) Writes a double into this address at the given offset, with the given layout.default voidMemorySegment.set(ValueLayout.OfDoublePREVIEW layout, long offset, double value) Writes a double into this segment at the given offset, with the given layout.voidMemoryAddress.setAtIndex(ValueLayout.OfDoublePREVIEW layout, long index, double value) Writes a double into this address at the given index, scaled by the given layout size.default voidMemorySegment.setAtIndex(ValueLayout.OfDoublePREVIEW layout, long index, double value) Writes a double into this segment at the given index, scaled by the given layout size.double[]MemorySegment.toArray(ValueLayout.OfDoublePREVIEW elementLayout) Copy the contents of this memory segment into a new double array.